git: 0529575a3639 - main - www/nyxt: Fix runtime with newer SBCL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Nov 2025 18:09:51 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0529575a3639d40322e1634b0287fe56e0a40684
commit 0529575a3639d40322e1634b0287fe56e0a40684
Author: Vasily Postnicov <shamaz.mazum@gmail.com>
AuthorDate: 2025-11-09 17:48:53 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-11-09 18:09:23 +0000
www/nyxt: Fix runtime with newer SBCL
PR: 290890
Reported by: David <djireland79[AT]gmail[DOT]com>
MFH: 2025Q4 (runtime fix)
---
www/nyxt/Makefile | 2 +-
.../patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp | 12 ++++++++++++
www/nyxt/files/patch-source_renderer_gtk.lisp | 11 +++++++++++
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/www/nyxt/Makefile b/www/nyxt/Makefile
index 8c0fbb19a1a0..57cc3bac5042 100644
--- a/www/nyxt/Makefile
+++ b/www/nyxt/Makefile
@@ -1,7 +1,7 @@
PORTNAME= nyxt
DISTVERSION= 3.12.0
DISTVERSIONSUFFIX= -source-with-submodules
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= https://github.com/atlas-engineer/${PORTNAME}/releases/download/${DISTVERSION}/
diff --git a/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp b/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp
new file mode 100644
index 000000000000..9e6c1075b214
--- /dev/null
+++ b/www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp
@@ -0,0 +1,12 @@
+--- _build/cl-webkit/webkit2/webkit2.web-view.lisp.orig 2025-11-09 06:31:52 UTC
++++ _build/cl-webkit/webkit2/webkit2.web-view.lisp
+@@ -276,7 +276,8 @@
+
+ (declaim (ftype (function (webkit-web-view string &optional
+ (or null (function (t t)))
+- (or null (function (condition))) string))
++ (or null (function (condition)))
++ (or null string)))
+ webkit-web-view-evaluate-javascript))
+ (defun webkit-web-view-evaluate-javascript (web-view javascript
+ &optional call-back error-call-back world)
diff --git a/www/nyxt/files/patch-source_renderer_gtk.lisp b/www/nyxt/files/patch-source_renderer_gtk.lisp
new file mode 100644
index 000000000000..1ad6e0a472c0
--- /dev/null
+++ b/www/nyxt/files/patch-source_renderer_gtk.lisp
@@ -0,0 +1,11 @@
+--- source/renderer/gtk.lisp.orig 2025-11-09 06:33:25 UTC
++++ source/renderer/gtk.lisp
+@@ -641,7 +641,7 @@ Return nil when key must be discarded, e.g. for modifi
+ (member :meta-mask modifier-state))
+ (alex:deletef (modifiers browser) :super-mask))))
+
+-(-> translate-modifiers (list &optional gdk:gdk-event) list)
++(-> translate-modifiers (list &optional t) list)
+ (defun translate-modifiers (modifier-state &optional event)
+ "Return list of modifiers fit for `keymaps:make-key'.
+ See `gtk-browser's `modifier-translator' slot."