pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/nss nss: try to fix macOS/aarch64 to not detect ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f8020c844e51
branches: trunk
changeset: 379237:f8020c844e51
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri May 13 13:40:36 2022 +0000
description:
nss: try to fix macOS/aarch64 to not detect as 32-bit
diffstat:
devel/nss/distinfo | 3 +-
devel/nss/patches/patch-nss_coreconf_Darwin.mk | 32 ++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
diffs (53 lines):
diff -r 52acd8e257df -r f8020c844e51 devel/nss/distinfo
--- a/devel/nss/distinfo Fri May 13 13:29:11 2022 +0000
+++ b/devel/nss/distinfo Fri May 13 13:40:36 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.152 2022/04/28 11:15:55 wiz Exp $
+$NetBSD: distinfo,v 1.153 2022/05/13 13:40:36 tnn Exp $
BLAKE2s (nss-3.78.tar.gz) = e3b30ce133b04083ff98468d2f4285ce2f740249194e52b86744d4098819f952
SHA512 (nss-3.78.tar.gz) = ab54d838f41f963fdd4b87477b1e769186ae1f138f7c5d764cd6873be4791146d14dcc85697a2ca92e08f3bfcbeb61d64e26e7b5398095272c18a8196d43ac6c
@@ -14,6 +14,7 @@
SHA1 (patch-nss_cmd_shlibsign_sign.sh) = 7948b7b502a4c148ee185836dde8a84d3aa388af
SHA1 (patch-nss_cmd_signtool_certgen.c) = cc81b591df5f0ec0216e626f0bb9d49cf91fff3f
SHA1 (patch-nss_cmd_signtool_util.c) = 7bf8f7770dbbd3163b9a480b382eda91072e8bc9
+SHA1 (patch-nss_coreconf_Darwin.mk) = 5f40bb2733b88b26a40c5317d1b5edc762dfd18b
SHA1 (patch-nss_coreconf_OpenBSD.mk) = 944f71fcaaa7d5b2b3ed008341b1392a65480f2b
SHA1 (patch-nss_coreconf_command.mk) = a7b682d367825b48f8802fa30cee83f10680bb74
SHA1 (patch-nss_lib_certdb_alg1485.c) = 319ecd8bc83f4309fe24267a6b7b8d03f11d06cb
diff -r 52acd8e257df -r f8020c844e51 devel/nss/patches/patch-nss_coreconf_Darwin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nss/patches/patch-nss_coreconf_Darwin.mk Fri May 13 13:40:36 2022 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-nss_coreconf_Darwin.mk,v 1.3 2022/05/13 13:40:36 tnn Exp $
+
+try to fix macOS/aarch64 to not detect as 32-bit
+
+--- nss/coreconf/Darwin.mk.orig 2022-04-28 10:19:37.000000000 +0000
++++ nss/coreconf/Darwin.mk
+@@ -16,6 +16,9 @@ ifndef CPU_ARCH
+ # When cross-compiling, CPU_ARCH should already be defined as the target
+ # architecture, set to powerpc or i386.
+ CPU_ARCH := $(shell uname -p)
++ ifeq (arm64, $(shell uname -m))
++ override CPU_ARCH = aarch64
++ endif
+ endif
+
+ ifeq (,$(filter-out i%86,$(CPU_ARCH)))
+@@ -33,11 +36,15 @@ else
+ ifeq (arm,$(CPU_ARCH))
+ # Nothing set for arm currently.
+ else
++ifeq (aarch64,$(CPU_ARCH))
++# Nothing set for arm currently.
++else
+ OS_REL_CFLAGS = -Dppc
+ CC += -arch ppc
+ CCC += -arch ppc
+ endif
+ endif
++endif
+
+ ifneq (,$(MACOS_SDK_DIR))
+ GCC_VERSION_FULL := $(shell $(CC) -dumpversion)
Home |
Main Index |
Thread Index |
Old Index