Tuesday, September 24, 2024

Re: firefox aarch64 pledge crashes

This fixes things for me (also needs the pledge commit to the kernel).
aarch64 package at https://junkpile.org/firefox-130.0.1p0.tgz if anyone
wants to try it.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
diff -u -p -r1.603 Makefile
--- Makefile 17 Sep 2024 12:55:40 -0000 1.603
+++ Makefile 24 Sep 2024 13:26:03 -0000
@@ -1,6 +1,8 @@
COMMENT = Firefox web browser
ONLY_FOR_ARCHS = amd64 aarch64 riscv64

+REVISION = 0
+
# Don't forget to bump www/firefox-i18n after updates.

MOZILLA_VERSION = 130.0.1
@@ -74,6 +76,13 @@ COMMENT_FFVPX ?=
COMMENT_FFVPX = @comment # needs a trailing space
.endif
SUBST_VARS += COMMENT_FFVPX
+
+# vendored copy of dav1d needs patching to avoid these (or changing to the ports
+# version, which already has relevant patches).
+USE_NOBTCFI-aarch64 = Yes
+.if ${MACHINE_ARCH} == aarch64
+USE_NOEXECONLY = Yes
+.endif

post-install:
${SUBST_MAN} ${FILESDIR}/mozilla-firefox.1 \

No comments:

Post a Comment