summaryrefslogtreecommitdiff
path: root/extra/nss
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-30 10:44:01 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-30 10:44:01 -0300
commit0d8ecfa1948a782678aea98ce57638f0430de78b (patch)
tree8d126f200367e84337c6d0fa91cd749a1c7877b8 /extra/nss
parent8baf74afe0af3b4012ae438cfeea1bbea3f41375 (diff)
parent8a823402bd45dc875237a20f174ecbe64e1bae4d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/desktop-file-utils/PKGBUILD extra/libgphoto2/PKGBUILD multilib-testing/lib32-glibc/PKGBUILD testing/glibc/PKGBUILD
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 7a8d322d5..b08a21be8 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 'mips64el')
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));