diff --git a/webkit2gtk3-missing-include.patch b/webkit2gtk3-missing-include.patch new file mode 100644 index 0000000..90216f0 --- /dev/null +++ b/webkit2gtk3-missing-include.patch @@ -0,0 +1,30 @@ +From d318bb461f040b90453bc4e100dcf967243ecd98 Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Mon, 16 Jan 2023 16:55:26 -0800 +Subject: [PATCH] WebKitGTK 2.39.4 does not build due to missing #include in + ANGLE https://bugs.webkit.org/show_bug.cgi?id=250689 + +Unreviewed build fix. + +* Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h: + +Canonical link: https://commits.webkit.org/258968@main +--- + Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h b/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h +index 94cb93e01fc0..ec7bda372f30 100644 +--- a/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h ++++ b/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h +@@ -12,6 +12,7 @@ + + #include + #include ++#include + #include + #include + +-- +2.39.0 + diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index 0282da7..c4e4bcf 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 27 15:09:41 UTC 2023 - Michael Gorse + +- Add webkit2gtk3-missing-include.patch: fix the build with gcc 13. + ------------------------------------------------------------------- Thu Dec 22 14:54:41 UTC 2022 - Michael Gorse diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index bfe1439..da84822 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -83,6 +83,8 @@ Source99: webkit2gtk3.keyring # PATCH-FIX-OPENSUSE no-forced-sse.patch jengelh@iani.de -- cure execution of illegal instruction in i586 webkit Patch0: no-forced-sse.patch +# PATCH-FIX-UPSTREAM webkit2gtk3-missing-include.patch mgorse@suse.com -- fix the build with gcc 13. +Patch1: webkit2gtk3-missing-include.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel