From 015514d47793f2329011db6bc364d5e2dcf83998 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 16 Jun 2024 10:29:32 +0700 Subject: [PATCH] network/nyxt: Updated for version 3.11.7. Signed-off-by: Willy Sudiarto Raharjo --- .../nyxt/002-cl-gobject-introspection-sb-int.patch | 9 +++++++++ network/nyxt/003-fset-sb-int.patch | 11 +++++++++++ network/nyxt/nyxt.SlackBuild | 5 ++++- network/nyxt/nyxt.info | 6 +++--- 4 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 network/nyxt/002-cl-gobject-introspection-sb-int.patch create mode 100644 network/nyxt/003-fset-sb-int.patch 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 0000000000..56397f6805 --- /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 0000000000..d7e35e9cf6 --- /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 bdc5bcb80b..e09ad5b0fe 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 3a991f985b..8605661584 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"