Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 23:21:37 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r501329 - branches/2019Q2/security/nss/files
Message-ID:  <201905112321.x4BNLbAD066018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat May 11 23:21:36 2019
New Revision: 501329
URL: https://svnweb.freebsd.org/changeset/ports/501329

Log:
  MFH: r501327
  
  security/nss: unbreak on powerpc64 after r501212
  
  crypto_primitives.c: In function 'swap8b':
  crypto_primitives.c:31: error: 'SHA_MASK8' undeclared (first use in this
  function)
  crypto_primitives.c:31: error: (Each undeclared identifier is reported only
  once
  crypto_primitives.c:31: error: for each function it appears in.)
  crypto_primitives.c:32: error: 'SHA_MASK16' undeclared (first use in this
  function)
  
  PR:		237841
  Reported by:	jhibbits
  Approved by:	ports-secteam blanket

Added:
  branches/2019Q2/security/nss/files/patch-bug1551041
     - copied unchanged from r501327, head/security/nss/files/patch-bug1551041
Modified:
Directory Properties:
  branches/2019Q2/   (props changed)

Copied: branches/2019Q2/security/nss/files/patch-bug1551041 (from r501327, head/security/nss/files/patch-bug1551041)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q2/security/nss/files/patch-bug1551041	Sat May 11 23:21:36 2019	(r501329, copy of r501327, head/security/nss/files/patch-bug1551041)
@@ -0,0 +1,11 @@
+--- lib/freebl/crypto_primitives.c.orig	2019-05-10 21:14:18 UTC
++++ lib/freebl/crypto_primitives.c
+@@ -22,7 +22,7 @@ swap8b(PRUint64 value)
+     return (value);
+ }
+ 
+-#elif !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))))
++#elif defined(IS_LITTLE_ENDIAN) && !defined(_MSC_VER) && !__has_builtin(__builtin_bswap64) && !((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))))
+ 
+ PRUint64
+ swap8b(PRUint64 x)



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