summaryrefslogtreecommitdiff
path: root/extra/nss
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-29 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2011-12-29 23:14:54 +0000
commit8a823402bd45dc875237a20f174ecbe64e1bae4d (patch)
treef520fcd3f38fc11c721bd183e92d1b65c37ca1a9 /extra/nss
parent5cd3c62bce23c2b25c28b22da71f664b48703ad2 (diff)
Thu Dec 29 23:14:54 UTC 2011
Diffstat (limited to 'extra/nss')
-rw-r--r--extra/nss/PKGBUILD7
-rw-r--r--extra/nss/bug702090.patch20
2 files changed, 25 insertions, 2 deletions
diff --git a/extra/nss/PKGBUILD b/extra/nss/PKGBUILD
index 77d538605..0dd8f4f2d 100644
--- a/extra/nss/PKGBUILD
+++ b/extra/nss/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 145236 2011-12-19 19:17:54Z jgc $
+# $Id: PKGBUILD 145700 2011-12-28 10:05:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=nss
pkgver=3.13.1
-pkgrel=1
+pkgrel=2
pkgdesc="Mozilla Network Security Services"
arch=(i686 x86_64)
url="http://www.mozilla.org/projects/security/pki/nss/"
@@ -14,12 +14,14 @@ makedepends=('perl')
replaces=('nss-nspr')
options=('!strip')
source=(ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${pkgver//./_}_WITH_CKBI_1_88_RTM/src/${pkgname}-${pkgver}.with.ckbi.1.88.tar.gz
+ bug702090.patch
nss-no-rpath.patch
nss.pc.in
nss-config.in
add_spi+cacert_ca_certs.patch
ssl-renegotiate-transitional.patch)
sha1sums=('ebc0258c8d1a3c2fe80941bd991b766552464fc6'
+ '057dd510ba567d344e705062436a786beb5592b6'
'c8fcdb153af9d39689243119adb475905a657284'
'aa5b2c0aa38d3c1066d511336cf28d1333e3aebd'
'cb744cc3e56b604e4754bc3c7d9f25bb9a0a136c'
@@ -28,6 +30,7 @@ sha1sums=('ebc0258c8d1a3c2fe80941bd991b766552464fc6'
build() {
cd "${srcdir}/${pkgname}-${pkgver}/mozilla"
+ patch -Np2 -i "${srcdir}/bug702090.patch"
# Adds the SPI Inc. and CAcert.org CA certificates - patch from Debian, modified to apply on certdata.txt only
patch -Np2 -i "${srcdir}/add_spi+cacert_ca_certs.patch"
# Adds transitional SSL renegotiate support - patch from Debian
diff --git a/extra/nss/bug702090.patch b/extra/nss/bug702090.patch
new file mode 100644
index 000000000..e25148554
--- /dev/null
+++ b/extra/nss/bug702090.patch
@@ -0,0 +1,20 @@
+--- ./mozilla/security/nss/lib/util/pkcs11n.h.orig 2011-09-14 10:21:10.000000000 +0900
++++ ./mozilla/security/nss/lib/util/pkcs11n.h 2011-11-19 00:45:01.131860104 +0900
+@@ -346,7 +346,7 @@
+ * labels have never been accurate to what was really implemented.
+ * The new labels correctly reflect what the values effectively mean.
+ */
+-#if __GNUC__ > 3
++#if defined(__GNUC__) && (__GNUC__ > 3)
+ /* make GCC warn when we use these #defines */
+ /*
+ * This is really painful because GCC doesn't allow us to mark random
+@@ -362,7 +362,7 @@
+ * cast the resulting value to the deprecated type in the #define, thus
+ * producting the warning when the #define is used.
+ */
+-#if (__GNUC__ == 4) && (__GNUC_MINOR < 5)
++#if (__GNUC__ == 4) && (__GNUC_MINOR__ < 5)
+ /* The mac doesn't like the friendlier deprecate messages. I'm assuming this
+ * is a gcc version issue rather than mac or ppc specific */
+ typedef CK_TRUST __CKT_NSS_UNTRUSTED __attribute__((deprecated));