pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   jklos
Date:           Mon Dec 23 00:52:25 UTC 2024

Modified Files:
        pkgsrc/www/firefox: mozilla-common.mk

Log Message:
PR pkg/58739
Replace _SVE2 aarch64 functions with _NEON.


To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 pkgsrc/www/firefox/mozilla-common.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/mozilla-common.mk
diff -u pkgsrc/www/firefox/mozilla-common.mk:1.289 pkgsrc/www/firefox/mozilla-common.mk:1.290
--- pkgsrc/www/firefox/mozilla-common.mk:1.289  Wed Oct 30 16:17:28 2024
+++ pkgsrc/www/firefox/mozilla-common.mk        Mon Dec 23 00:52:25 2024
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.289 2024/10/30 16:17:28 gutteridge Exp $
+# $NetBSD: mozilla-common.mk,v 1.290 2024/12/23 00:52:25 jklos Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -148,6 +148,15 @@ SUBST_MESSAGE.sqlite3-opt= Fixing segfau
 SUBST_FILES.sqlite3-opt+=      ${MOZILLA_DIR}third_party/sqlite3/src/moz.build
 SUBST_VARS.sqlite3-opt+=       SQLITE3OPTFLAG
 
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "aarch64"
+SUBST_CLASSES+=                 sve2
+SUBST_STAGE.sve2=               pre-configure
+SUBST_FILES.sve2=               media/libyuv/libyuv/source/convert.cc
+SUBST_FILES.sve2+=              media/libyuv/libyuv/source/scale_argb.cc
+SUBST_FILES.sve2+=              media/libyuv/libyuv/source/convert_argb.cc
+SUBST_SED.sve2=                 -e 's/_SVE2/_NEON/g'
+.endif
+
 # Do not pass '-j1 -j1' for MAKE_JOBS=1 for NetBSD 9.3 or earlier.
 RUST_MAKE_JOBS=                # empty by default
 .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090400



Home | Main Index | Thread Index | Old Index