diff options
| author | Vasily Postnicov <shamaz.mazum@gmail.com> | 2025-11-09 17:48:53 +0000 |
|---|---|---|
| committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2025-11-09 18:10:28 +0000 |
| commit | 5a48fa11b7f170ef4bea3b7715278e635cbe9dff (patch) | |
| tree | a23d9cab592ceddd15f36ff1707d38ebe15593e6 | |
| parent | 49311eaa1a327d477d4cd63ff23b897d3d866562 (diff) | |
www/nyxt: Fix runtime with newer SBCL
PR: 290890
Reported by: David <djireland79[AT]gmail[DOT]com>
MFH: 2025Q4 (runtime fix)
(cherry picked from commit 0529575a3639d40322e1634b0287fe56e0a40684)
| -rw-r--r-- | www/nyxt/Makefile | 2 | ||||
| -rw-r--r-- | www/nyxt/files/patch-__build_cl-webkit_webkit2_webkit2.web-view.lisp | 12 | ||||
| -rw-r--r-- | www/nyxt/files/patch-source_renderer_gtk.lisp | 11 |
3 files changed, 24 insertions, 1 deletions
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." |
