Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2016 18:03:05 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422755 - head/security/nss/files
Message-ID:  <201609251803.u8PI35E8038748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609251803.u8PI35E8038748>