From 30236c972dda5f94a34acc1a875a1c7076c91efe Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 28 Dec 2025 22:10:41 +0100 Subject: [PATCH] package/qt5/qt5webkit: add patch to fix missing include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is not clear which change introduce this breakage, but we suspect it is related to GCC 14.x. In any case, the fix does no harm and is good to backport to 2025.02.x. Fixes: /home/thomas/buildroot/br/output-all/build/qt5webkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h:575:8: error: ‘uint32_t’ does not name a type 575 | inline uint32_t RotL(uint32_t x, int8_t r) | ^~~~~~~~ /home/thomas/buildroot/br/output-all/build/qt5webkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h:19:1: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 18 | #include +++ |+#include 19 | Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit d10726a1a1c60f934ef7022d188eb231ea174fb0) Signed-off-by: Thomas Perale --- ...y-ANGLE-src-common-mathutil.h-includ.patch | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 package/qt5/qt5webkit/0012-Source-ThirdParty-ANGLE-src-common-mathutil.h-includ.patch diff --git a/package/qt5/qt5webkit/0012-Source-ThirdParty-ANGLE-src-common-mathutil.h-includ.patch b/package/qt5/qt5webkit/0012-Source-ThirdParty-ANGLE-src-common-mathutil.h-includ.patch new file mode 100644 index 0000000000..e53024a4bd --- /dev/null +++ b/package/qt5/qt5webkit/0012-Source-ThirdParty-ANGLE-src-common-mathutil.h-includ.patch @@ -0,0 +1,45 @@ +From 05c5aec722ebd750ec3404444f945154c266b62d Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 28 Dec 2025 15:51:26 +0100 +Subject: [PATCH] Source/ThirdParty/ANGLE/src/common/mathutil.h: include + missing header +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + +/home/thomas/buildroot/br/output-all/build/qt5webkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h:575:8: error: ‘uint32_t’ does not name a type + 575 | inline uint32_t RotL(uint32_t x, int8_t r) + | ^~~~~~~~ +/home/thomas/buildroot/br/output-all/build/qt5webkit-5.212.0-alpha4/Source/ThirdParty/ANGLE/src/common/mathutil.h:19:1: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ + 18 | #include + +++ |+#include + 19 | + +Taken from Fedora, also used on Arch Linux: + + https://src.fedoraproject.org/rpms/qt5-qtwebkit/raw/rawhide/f/qtwebkit-cstdint.patch + https://aur.archlinux.org/packages/qt5-webkit + +Upstream: dead, N/A +Signed-off-by: Thomas Petazzoni +--- + Source/ThirdParty/ANGLE/src/common/mathutil.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/ThirdParty/ANGLE/src/common/mathutil.h b/Source/ThirdParty/ANGLE/src/common/mathutil.h +index 7959da8bdcbc..c86afd61e103 100644 +--- a/Source/ThirdParty/ANGLE/src/common/mathutil.h ++++ b/Source/ThirdParty/ANGLE/src/common/mathutil.h +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + namespace gl + { +-- +2.52.0 +