summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 11:25:13 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 11:38:15 +0700
commitd263a625f151b45925800ea6cba93fb3ff2f3631 (patch)
treeb24f25cf76e97f82208e9403bb4f07c2fc9c366d /libraries
parente55b2bd134a61c35f9fa53bc10f73a96c6968c30 (diff)
downloadslackbuilds-d263a625f151b45925800ea6cba93fb3ff2f3631.tar.gz
slackbuilds-d263a625f151b45925800ea6cba93fb3ff2f3631.tar.xz
libraries/webkit2gtk4.1: Fix build on i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch33
-rw-r--r--libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild3
2 files changed, 35 insertions, 1 deletions
diff --git a/libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch b/libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch
new file mode 100644
index 0000000000..62b893bdfc
--- /dev/null
+++ b/libraries/webkit2gtk4.1/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/webkit2gtk4.1/webkit2gtk4.1.SlackBuild b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild
index 0979416610..beb73e8125 100644
--- a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild
+++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=webkit2gtk4.1
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