qt5.qtwebkit: fix build with GCC 13
Apply a patch from Fedora and Arch which solves a build failure on GCC 13. Url: https://src.fedoraproject.org/rpms/qt5-qtwebkit/raw/rawhide/f/qtwebkit-cstdint.patch
This commit is contained in:
parent
830a7417cc
commit
61c4f91c19
2 changed files with 12 additions and 0 deletions
|
@ -213,6 +213,7 @@ let
|
||||||
})
|
})
|
||||||
./qtwebkit.patch
|
./qtwebkit.patch
|
||||||
./qtwebkit-icu68.patch
|
./qtwebkit-icu68.patch
|
||||||
|
./qtwebkit-cstdint.patch
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
./qtwebkit-darwin-no-readline.patch
|
./qtwebkit-darwin-no-readline.patch
|
||||||
./qtwebkit-darwin-no-qos-classes.patch
|
./qtwebkit-darwin-no-qos-classes.patch
|
||||||
|
|
11
pkgs/development/libraries/qt-5/5.15/qtwebkit-cstdint.patch
Normal file
11
pkgs/development/libraries/qt-5/5.15/qtwebkit-cstdint.patch
Normal 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
|
||||||
|
{
|
Loading…
Reference in a new issue