From ecbbf245bde5617256c91a5717bd6768b65c1aed Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Mon, 5 Feb 2024 16:52:49 -0600 Subject: [PATCH] Add missing patch Resolves: RHEL-3960 --- i686-build.patch | 16 ++++++++++++++++ webkit2gtk3.spec | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 i686-build.patch diff --git a/i686-build.patch b/i686-build.patch new file mode 100644 index 0000000..1b5ec0d --- /dev/null +++ b/i686-build.patch @@ -0,0 +1,16 @@ +From: Alberto Garcia +Subject: Fix FTBFS in i386 +Bug: https://bugs.webkit.org/show_bug.cgi?id=268739 +Index: webkitgtk/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +=================================================================== +--- webkitgtk.orig/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ++++ webkitgtk/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpc + UNUSED_VARIABLE(t2); + UNUSED_VARIABLE(t3); + UNUSED_VARIABLE(t5); +- UNUSED_VARIABLE(t6); +- UNUSED_VARIABLE(t7); + + struct StackPointerScope { + StackPointerScope(CLoopStack& stack) diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 19dc8e8..86ed8b5 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -24,6 +24,9 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc # $ gpg --export --export-options export-minimal D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg Source2: webkitgtk-keys.gpg +# https://bugs.webkit.org/show_bug.cgi?id=268739 +Patch: i686-build.patch + BuildRequires: bison BuildRequires: bubblewrap BuildRequires: cmake