From 198f26f9b1013a29daf2d0a2bfa63a9f4edd4843 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-3961 --- 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 5dc49a5..b1e3425 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -34,6 +34,9 @@ Patch3: cairo-1.15.patch # Avoid dependency on GEnumClass_autoptr Patch4: glib-2.56.patch +# https://bugs.webkit.org/show_bug.cgi?id=268739 +Patch5: i686-build.patch + BuildRequires: bison BuildRequires: cmake BuildRequires: flex