From owner-svn-ports-head@freebsd.org Sat May 11 23:20:58 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A062815A9F70; Sat, 11 May 2019 23:20:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43618761FD; Sat, 11 May 2019 23:20:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F3FB225EB; Sat, 11 May 2019 23:20:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4BNKwGY063290; Sat, 11 May 2019 23:20:58 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4BNKwjv063289; Sat, 11 May 2019 23:20:58 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201905112320.x4BNKwjv063289@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 11 May 2019 23:20:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501327 - head/security/nss/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/security/nss/files X-SVN-Commit-Revision: 501327 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 43618761FD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 23:20:58 -0000 Author: jbeich Date: Sat May 11 23:20:57 2019 New Revision: 501327 URL: https://svnweb.freebsd.org/changeset/ports/501327 Log: 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 Added: head/security/nss/files/patch-bug1551041 (contents, props changed) Added: head/security/nss/files/patch-bug1551041 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/nss/files/patch-bug1551041 Sat May 11 23:20:57 2019 (r501327) @@ -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)