void-packages/srcpkgs/nyxt/patches/fix-sbcl-2.4.5.patch

46 lines
1.4 KiB
Diff

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 <shamaz.mazum@gmail.com>
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 <hraban@0brg.net>
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)