aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-09-26 02:03:04 +0800
committerjbeich <jbeich@FreeBSD.org>2016-09-26 02:03:04 +0800
commitca91b3a659fee463e10cfeddc90325be2c016a36 (patch)
treebe1c388cca04fae37555512868d93f12e3fc3bf1 /security
parentbb7d9fb596826249da3ca55bc583eb6810c64cfb (diff)
downloadfreebsd-ports-gnome-ca91b3a659fee463e10cfeddc90325be2c016a36.tar.gz
freebsd-ports-gnome-ca91b3a659fee463e10cfeddc90325be2c016a36.tar.zst
freebsd-ports-gnome-ca91b3a659fee463e10cfeddc90325be2c016a36.zip
security/nss: unbreak build on armv6
pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] if (addend < MP_DIGIT_MAX) { ~~~~~~ ^ ~~~~~~~~~~~~ 1 error generated. PR: 209482 Submitted by: mikael.urankar@gmail.com (based on)
Diffstat (limited to 'security')
-rw-r--r--security/nss/files/patch-coreconf_FreeBSD.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/files/patch-coreconf_FreeBSD.mk b/security/nss/files/patch-coreconf_FreeBSD.mk
index 46e7c13e19f8..f77bd7e725ba 100644
--- a/security/nss/files/patch-coreconf_FreeBSD.mk
+++ b/security/nss/files/patch-coreconf_FreeBSD.mk
@@ -13,10 +13,13 @@
RANLIB = ranlib
CPU_ARCH = $(OS_TEST)
-@@ -52,6 +52,13 @@ endif
+@@ -52,6 +52,16 @@ endif
ifeq ($(CPU_ARCH),amd64)
CPU_ARCH = x86_64
endif
++ifneq (,$(filter arm%, $(CPU_ARCH)))
++CPU_ARCH = arm
++endif
+ifneq (,$(filter powerpc%, $(CPU_ARCH)))
+CPU_ARCH = ppc
+endif