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