git: 8d2aaf573b5a - main - www/nyxt: fix build on powerpc64le and possibly others
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 16:33:33 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8d2aaf573b5a100db441235f177225818f2e3ce5
commit 8d2aaf573b5a100db441235f177225818f2e3ce5
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-30 11:56:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-30 16:33:21 +0000
www/nyxt: fix build on powerpc64le and possibly others
On powerpc64le (optimize debug) removes some optimizations that
by default remove dead code. Here in particular that dead code is also
incorrect and it causes:
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD tid=612698 "main thread" RUNNING
{1001AB051C}>:
COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "idna" "decode">
---
www/nyxt/files/patch-__build_idna_decode.lisp | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/www/nyxt/files/patch-__build_idna_decode.lisp b/www/nyxt/files/patch-__build_idna_decode.lisp
new file mode 100644
index 000000000000..f7ae034b576f
--- /dev/null
+++ b/www/nyxt/files/patch-__build_idna_decode.lisp
@@ -0,0 +1,13 @@
+--- _build/idna/decode.lisp.orig 2026-06-12 10:25:38 UTC
++++ _build/idna/decode.lisp
+@@ -94,8 +94,8 @@
+ (loop with len = output-length
+ for i from 0 below len
+ do (when (elt case-flags i)
+- (setf (aref output i)
+- (char-code (char-upcase (code-char (aref output i))))))))
++ (setf (elt output i)
++ (char-code (char-upcase (code-char (elt output i))))))))
+ (map 'string #'code-char output)))
+
+ (defun to-unicode (string)