aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShamaz Mazum <shamaz.mazum@gmail.com>2026-03-02 19:50:32 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2026-03-02 19:51:36 +0000
commitcbb7e1bddacd16c010c7e942845bff55fc48fd94 (patch)
tree4032b20af17817f6250b2a48f75e6b50fa15b782
parente9270a40442460bb08635de36ebddfd5a96ac674 (diff)
www/nyxt: Unbreak with SBCL >= 2.5.11
PR: 293549
-rw-r--r--www/nyxt/files/patch-sbcl26222
1 files changed, 22 insertions, 0 deletions
diff --git a/www/nyxt/files/patch-sbcl262 b/www/nyxt/files/patch-sbcl262
new file mode 100644
index 000000000000..d5581e4425d5
--- /dev/null
+++ b/www/nyxt/files/patch-sbcl262
@@ -0,0 +1,22 @@
+https://github.com/melisgl/named-readtables/commit/6eea56674442b884a4fee6ede4c8aad63541aa5b
+
+From 6eea56674442b884a4fee6ede4c8aad63541aa5b Mon Sep 17 00:00:00 2001
+From: Gabor Melis <mega@retes.hu>
+Date: Sun, 9 Nov 2025 18:20:21 +0100
+Subject: [PATCH] unbreak after SBCL internals change
+
+--- _build/named-readtables/src/cruft.lisp.orig 2024-10-20 15:57:20 UTC
++++ _build/named-readtables/src/cruft.lisp
+@@ -219,7 +219,11 @@
+ (grovel-unicode-chars)
+ (let ((reader-fn (svref char-macro-array char-code))
+ (char (code-char (shiftf char-code (1+ char-code)))))
+- (if reader-fn
++ ;; In older SBCL, READER-FN may be NIL. Since
++ ;; commit 00eabf5 ("Make a few mostly-stylistic
++ ;; tweaks to macro char reading"), this is 0
++ ;; instead.
++ (if (and reader-fn (not (eql reader-fn 0)))
+ (yield char)
+ (grovel-base-chars)))))
+ (grovel-unicode-chars ()