aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-16 10:29:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-16 10:32:25 +0700
commit015514d47793f2329011db6bc364d5e2dcf83998 (patch)
treeb5622ac176fdab5d8edc54f7477bf17026240268 /network
parenta79113ca6709741bf835e3579385a21e8db02db9 (diff)
network/nyxt: Updated for version 3.11.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/nyxt/002-cl-gobject-introspection-sb-int.patch9
-rw-r--r--network/nyxt/003-fset-sb-int.patch11
-rw-r--r--network/nyxt/nyxt.SlackBuild5
-rw-r--r--network/nyxt/nyxt.info6
4 files changed, 27 insertions, 4 deletions
diff --git a/network/nyxt/002-cl-gobject-introspection-sb-int.patch b/network/nyxt/002-cl-gobject-introspection-sb-int.patch
new file mode 100644
index 0000000000000..56397f680564a
--- /dev/null
+++ b/network/nyxt/002-cl-gobject-introspection-sb-int.patch
@@ -0,0 +1,9 @@
+#https://github.com/andy128k/cl-gobject-introspection/issues/100
+--- nyxt-3.11.7-origin/_build/cl-gobject-introspection/src/init.lisp
++++ nyxt-3.11.7/_build/cl-gobject-introspection/src/init.lisp
+@@ -143,4 +143,4 @@
+ (destroy-data :pointer)
+ (connect-flags connect-flags))
+
+-#+sbcl (sb-ext::set-floating-point-modes :traps nil)
++#+sbcl (sb-int::set-floating-point-modes :traps nil)
diff --git a/network/nyxt/003-fset-sb-int.patch b/network/nyxt/003-fset-sb-int.patch
new file mode 100644
index 0000000000000..d7e35e9cf6f86
--- /dev/null
+++ b/network/nyxt/003-fset-sb-int.patch
@@ -0,0 +1,11 @@
+--- nyxt-3.11.7-origin/_build/fset/Code/port.lisp
++++ nyxt-3.11.7/_build/fset/Code/port.lisp
+@@ -348,7 +348,7 @@
+ `(if (null ,x) 0 (cl:length ,x))))
+ #+sbcl
+ (defmacro length-nv (x)
+- (sb-ext::once-only ((x x))
++ (sb-int::once-only ((x x))
+ `(if (null ,x) 0 (cl:length ,x))))
+ #-(or cmu scl sbcl)
+ (defmacro length-nv (x)
diff --git a/network/nyxt/nyxt.SlackBuild b/network/nyxt/nyxt.SlackBuild
index bdc5bcb80b0c4..e09ad5b0feceb 100644
--- a/network/nyxt/nyxt.SlackBuild
+++ b/network/nyxt/nyxt.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nyxt
-VERSION=${VERSION:-3.11.6}
+VERSION=${VERSION:-3.11.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,6 +63,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/002-cl-gobject-introspection-sb-int.patch
+patch -p1 < $CWD/003-fset-sb-int.patch
+
# use $TMP/$PRGNAM-$VERSION/.cache dir instead of $HOME/.cache/common-lisp/
(
code="(setf asdf:*user-cache* \"$TMP/$PRGNAM-$VERSION/.cache/\")"
diff --git a/network/nyxt/nyxt.info b/network/nyxt/nyxt.info
index 3a991f985b117..8605661584808 100644
--- a/network/nyxt/nyxt.info
+++ b/network/nyxt/nyxt.info
@@ -1,8 +1,8 @@
PRGNAM="nyxt"
-VERSION="3.11.6"
+VERSION="3.11.7"
HOMEPAGE="https://nyxt.atlas.engineer/"
-DOWNLOAD="https://github.com/atlas-engineer/nyxt/releases/download/3.11.6/nyxt-3.11.6-source-with-submodules.tar.xz"
-MD5SUM="77908f25fd53961bea98b3de24b6ed3e"
+DOWNLOAD="https://github.com/atlas-engineer/nyxt/releases/download/3.11.7/nyxt-3.11.7-source-with-submodules.tar.xz"
+MD5SUM="4d636fc2395fc328e845d93a4b80234c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfixposix sbcl webkit2gtk"