diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-24 08:53:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-24 11:38:12 +0700 |
commit | e55b2bd134a61c35f9fa53bc10f73a96c6968c30 (patch) | |
tree | bc770dd3995535b00c5bfb624d1a62a7168ffd6a /libraries | |
parent | ec79a6e640a5073de665bc7ddeb3981b38a94349 (diff) |
libraries/webkit2gtk: Fix build on i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch | 33 | ||||
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.SlackBuild | 3 |
2 files changed, 35 insertions, 1 deletions
diff --git a/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch new file mode 100644 index 0000000000000..62b893bdfcb82 --- /dev/null +++ b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch @@ -0,0 +1,33 @@ +From 3d5373575695b293b8559155431d0079a6153aff Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro <mcatanzaro@redhat.com> +Date: Mon, 5 Feb 2024 11:00:49 -0600 +Subject: [PATCH] =?UTF-8?q?[GTK]=20[2.42.5]=20LowLevelInterpreter.cpp:339:?= + =?UTF-8?q?21:=20error:=20=E2=80=98t6=E2=80=99=20was=20not=20declared=20in?= + =?UTF-8?q?=20this=20scope=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid?= + =?UTF-8?q?=3D268739?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unreviewed build fix. Seems a backport went badly, and we didn't notice +because the code is architecture-specific. + +* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp: +(JSC::CLoop::execute): +--- + Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +index 5064ead6cd2e7..9a2e2653b1219 100644 +--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm, + UNUSED_VARIABLE(t2); + UNUSED_VARIABLE(t3); + UNUSED_VARIABLE(t5); +- UNUSED_VARIABLE(t6); +- UNUSED_VARIABLE(t7); + + struct StackPointerScope { + StackPointerScope(CLoopStack& stack) diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index 5fe6483ff718c..362a637a76ad4 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk SRCNAM=webkitgtk VERSION=${VERSION:-2.42.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,6 +78,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/unhide-deprecated-api.patch +patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch mkdir -p build cd build |