Accepting request 1061598 from GNOME:Next

- Add webkit2gtk3-missing-include.patch: fix the build with gcc 13.

OBS-URL: https://build.opensuse.org/request/show/1061598
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=380
This commit is contained in:
Bjørn Lie 2023-01-27 18:14:24 +00:00 committed by Git OBS Bridge
parent b9f9499e91
commit 3205e19c1d
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From d318bb461f040b90453bc4e100dcf967243ecd98 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@redhat.com>
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 <algorithm>
#include <array>
+#include <cstdint>
#include <string>
#include <vector>
--
2.39.0

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 27 15:09:41 UTC 2023 - Michael Gorse <mgorse@suse.com>
- Add webkit2gtk3-missing-include.patch: fix the build with gcc 13.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 22 14:54:41 UTC 2022 - Michael Gorse <mgorse@suse.com> Thu Dec 22 14:54:41 UTC 2022 - Michael Gorse <mgorse@suse.com>

View File

@ -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 # PATCH-FIX-OPENSUSE no-forced-sse.patch jengelh@iani.de -- cure execution of illegal instruction in i586 webkit
Patch0: no-forced-sse.patch 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-libEGL-devel
BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGL-devel