svn commit: r422755 - head/security/nss/files

Jan Beich jbeich at FreeBSD.org
Sun Sep 25 18:03:06 UTC 2016


Author: jbeich
Date: Sun Sep 25 18:03:04 2016
New Revision: 422755
URL: https://svnweb.freebsd.org/changeset/ports/422755

Log:
  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 at gmail.com (based on)

Modified:
  head/security/nss/files/patch-coreconf_FreeBSD.mk   (contents, props changed)

Modified: head/security/nss/files/patch-coreconf_FreeBSD.mk
==============================================================================
--- head/security/nss/files/patch-coreconf_FreeBSD.mk	Sun Sep 25 17:13:42 2016	(r422754)
+++ head/security/nss/files/patch-coreconf_FreeBSD.mk	Sun Sep 25 18:03:04 2016	(r422755)
@@ -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


More information about the svn-ports-head mailing list