fixed FTBFS

This commit is contained in:
Than Ngo 2023-02-20 17:24:09 +01:00
parent dbd1decd73
commit e41996e42c
2 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,7 @@ Patch6: qtwebkit-icu68.patch
# From https://github.com/WebKit/WebKit/commit/c7d19a492d97f9282a546831beb918e03315f6ef
# Ruby 3.2 removes Object#=~ completely
Patch7: webkit-offlineasm-warnings-ruby27.patch
Patch8: qtwebkit-cstdint.patch
BuildRequires: make
BuildRequires: bison
@ -253,6 +254,7 @@ test -z "$(pkg-config --cflags Qt5WebKit | grep Qt5WebKit)"
%changelog
* Mon Feb 20 2023 Than Ngo <than@redhat.com> - 5.212.0-0.74alpha4
- migrated to SPDX license
- fixed FTBFS
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.212.0-0.73alpha4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

11
qtwebkit-cstdint.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up qtwebkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h.me qtwebkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h
--- qtwebkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h.me 2023-02-20 15:40:04.045911245 +0100
+++ qtwebkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h 2023-02-20 15:40:39.038549787 +0100
@@ -16,6 +16,7 @@
#include <algorithm>
#include <string.h>
#include <stdlib.h>
+#include <cstdint>
namespace gl
{