From f5a511992dae5a45303a3ca5d5c68a9a0ff49720 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Tue, 22 Oct 2019 09:43:34 +0700 Subject: [PATCH] nss: update to 3.46.1. While we're at it, also fix a quoting problem if user has changed XBPS_CFLAGS, so that the -O flag isn't the first one, e.g: XBPS_CFLAGS=-march=native -O2 -pipe nspr is updated to 4.23 but nss 3.46.1 only requires 4.22 Release Notes: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.46.1_release_notes --- srcpkgs/nss/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template index 693e4524e26..e26701eaea6 100644 --- a/srcpkgs/nss/template +++ b/srcpkgs/nss/template @@ -3,17 +3,17 @@ _nsprver=4.22 pkgname=nss -version=3.46 +version=3.46.1 revision=1 hostmakedepends="perl" makedepends="nspr-devel sqlite-devel zlib-devel" depends="nspr>=${_nsprver}" short_desc="Mozilla Network Security Services" -maintainer="Orphaned " +maintainer="Doan Tran Cong 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=6b699649d285602ba258a4b0957cb841eafc94eff5735a9da8da0adbb9a10cef +checksum=3bf7e0ed7db98803f134c527c436cc68415ff17257d34bd75de14e9a09d13651 do_build() { # Respect LDFLAGS @@ -32,7 +32,7 @@ do_build() { cd nss # Build nsinstall for host. - make CC=$BUILD_CC LD=$BUILD_LD CFLAGS=$BUILD_CFLAGS LDFLAGS=$BUILD_LDFLAGS \ + make CC=$BUILD_CC LD=$BUILD_LD CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" \ ${_native_use64} -C coreconf if [ "$CROSS_BUILD" ]; then