diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-27 21:53:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-27 21:56:14 +0000 |
commit | 9aade275eec44cef9d7529fa958a1b95c6e2aed1 (patch) | |
tree | 5838a89a2465a53625336b8cd513d07e3a2af39e /main/nss/APKBUILD | |
parent | 5187c5d412ef6123a0bd0579ea5b15a90ed551d2 (diff) | |
download | aports-9aade275eec44cef9d7529fa958a1b95c6e2aed1.tar.bz2 aports-9aade275eec44cef9d7529fa958a1b95c6e2aed1.tar.xz |
main/nss: fix pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined
Affects networkmanager compilation and probably also pidgin.
https://bugzilla.mozilla.org/show_bug.cgi?id=702090
Diffstat (limited to 'main/nss/APKBUILD')
-rw-r--r-- | main/nss/APKBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD index 7d79c9d6b7..16fbb59bf4 100644 --- a/main/nss/APKBUILD +++ b/main/nss/APKBUILD @@ -2,7 +2,7 @@ pkgname=nss pkgver=3.13.1 _ver=${pkgver//./_} -pkgrel=0 +pkgrel=1 pkgdesc="Mozilla Network Security Services" url="http://www.mozilla.org/projects/security/pki/nss/" arch="all" @@ -16,16 +16,18 @@ source="ftp://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src nss-config.in add_spi+cacert_ca_certs.patch ssl-renegotiate-transitional.patch - cve-2011-3640.patch + bmo702090.patch " depends_dev="nspr-dev" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - patch -Np1 -i ""$srcdir"/add_spi+cacert_ca_certs.patch" || return 1 - patch -Np1 -i ""$srcdir"/ssl-renegotiate-transitional.patch" || return 1 - patch -Np0 -i ""$srcdir"/nss-no-rpath.patch" || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done # Respect LDFLAGS sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' \ @@ -145,4 +147,4 @@ c547b030c57fe1ed8b77c73bf52b3ded nss.pc.in 46bee81908f1e5b26d6a7a2e14c64d9f nss-config.in 7f39c19b1dfd62d7db7d8bf19f156fed add_spi+cacert_ca_certs.patch d83c7b61abb7e9f8f7bcd157183d1ade ssl-renegotiate-transitional.patch -6fa44457270956d634abe15d1f3340ab cve-2011-3640.patch" +af8c6c19a3ef6df87141a67c6c600c13 bmo702090.patch" |