From ecc17c0f553e762a152748a569fc92fe2058425b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 23 Sep 2020 22:17:12 +0700 Subject: [PATCH] nss: update to 3.57. --- srcpkgs/nss/template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template index 1e4c7b579a..d53c8736eb 100644 --- a/srcpkgs/nss/template +++ b/srcpkgs/nss/template @@ -1,9 +1,9 @@ # Template file for 'nss' -_nsprver=4.28 +_nsprver=4.29 pkgname=nss -version=3.56 +version=3.57 revision=1 hostmakedepends="perl" makedepends="nspr-devel sqlite-devel zlib-devel" @@ -13,7 +13,7 @@ maintainer="Đoàn Trần Công Danh " license="MPL-2.0" homepage="https://www.mozilla.org/projects/security/pki/nss" distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz" -checksum=f875e0e8ed3b5ce92d675be4a55aa25a8c1199789a4a01f69b5f2327e2048e9c +checksum=55a86c01be860381d64bb4e5b94eb198df9b0f098a8af0e58c014df398bdc382 export NS_USE_GCC=1 export LIBRUNPATH= @@ -37,6 +37,13 @@ do_build() { _native_use64="USE_64=1" fi + # Build System can detect this just fine, + # but I don't like to see useless warning barf for every line. + case "$XBPS_TARGET_MACHINE" in + x86_64*) ;; + *) export NSS_DISABLE_AVX2=1 ;; + esac + # it's actually VSX, so disable on all BE ppc case "$XBPS_TARGET_MACHINE" in ppc64le*) ;;