diff --git a/srcpkgs/nyxt/patches/fix-sbcl-2.4.5.patch b/srcpkgs/nyxt/patches/fix-sbcl-2.4.5.patch new file mode 100644 index 00000000000..2354f7b2756 --- /dev/null +++ b/srcpkgs/nyxt/patches/fix-sbcl-2.4.5.patch @@ -0,0 +1,45 @@ +Source of first patch: https://github.com/andy128k/cl-gobject-introspection/pull/101 +Source of second patch: https://github.com/slburson/fset/pull/46 + +From 4908a84c16349929b309c50409815ff81fb9b3c4 Mon Sep 17 00:00:00 2001 +From: Vasily Postnicov +Date: Sun, 19 May 2024 06:33:44 +0300 +Subject: [PATCH] Fix compilation on not yet released SBCL + +--- + src/init.lisp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/init.lisp b/src/init.lisp +index 8675ee8..194d6aa 100644 +--- a/_build/cl-gobject-introspection/src/init.lisp ++++ b/_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) + +From 67eca709c2a6275692381fbaf018876b2ab11244 Mon Sep 17 00:00:00 2001 +From: Hraban +Date: Fri, 7 Jun 2024 03:58:37 -0400 +Subject: [PATCH] fix: proper external package for sb-int:once-only (#46) + +--- + Code/port.lisp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Code/port.lisp b/Code/port.lisp +index 72f86fe..86673f0 100644 +--- a/_build/fset/Code/port.lisp ++++ b/_build/fset/Code/port.lisp +@@ -363,7 +363,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/srcpkgs/nyxt/template b/srcpkgs/nyxt/template index d128312c9a6..abe5fe63011 100644 --- a/srcpkgs/nyxt/template +++ b/srcpkgs/nyxt/template @@ -1,6 +1,6 @@ # Template file for 'nyxt' pkgname=nyxt -version=3.11.0 +version=3.11.7 revision=1 create_wrksrc=yes build_style=gnu-makefile @@ -13,7 +13,7 @@ maintainer="Orphaned " license="BSD-3-Clause" homepage="https://nyxt.atlas.engineer/" distfiles="https://github.com/atlas-engineer/nyxt/releases/download/${version}/${pkgname}-${version}-source-with-submodules.tar.xz" -checksum=ba5e23970615d5e7a6e2ba204cce7bc585bdbef1fb834b18c1e486c93b5a79c6 +checksum=27d11de1e41ca1c319193678f385a5a3e0bfb805da8f687557a77cba24ab01e1 # Disable check because ASDF/USER::PROVE is not installed make_check=no nostrip=yes