summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2011-12-19 14:13:10 +0000
committerJory Pratt <anarchy@gentoo.org>2011-12-19 14:13:10 +0000
commit788839bb51ed39aaab1f5af604c5d9d058617c54 (patch)
treeadc14e3a150c95d097bcf3092a142ac07cc42e4e /dev-libs/nss/files
parent[bump] dev-perl/HTTP-BrowserDetect-1.390.0 (diff)
downloadgentoo-2-788839bb51ed39aaab1f5af604c5d9d058617c54.tar.gz
gentoo-2-788839bb51ed39aaab1f5af604c5d9d058617c54.tar.bz2
gentoo-2-788839bb51ed39aaab1f5af604c5d9d058617c54.zip
Fix pkcs11n header, fix compilation for multilib
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r--dev-libs/nss/files/nss-3.13.1-pkcs11n-header-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.13.1-pkcs11n-header-fix.patch b/dev-libs/nss/files/nss-3.13.1-pkcs11n-header-fix.patch
new file mode 100644
index 000000000000..39bcc9e9cdc9
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.13.1-pkcs11n-header-fix.patch
@@ -0,0 +1,11 @@
+--- a/mozilla/security/nss/lib/util/pkcs11n.h 2011-12-11 15:18:57.451617325 -0600
++++ a/mozilla/security/nss/lib/util/pkcs11n.h 2011-12-11 15:19:27.652239770 -0600
+@@ -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));