]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - nss/patches/gnuc-minor-def-fix.patch
Merge remote-tracking branch 'arne_f/autoconf'
[people/arne_f/ipfire-3.x.git] / nss / patches / gnuc-minor-def-fix.patch
1 diff -up nss-3.13.1/mozilla/security/nss/lib/util/pkcs11n.h.fo nss-3.13.1/mozilla/security/nss/lib/util/pkcs11n.h
2 --- nss-3.13.1/mozilla/security/nss/lib/util/pkcs11n.h.fo 2011-11-10 12:44:17.683967574 -0600
3 +++ nss-3.13.1/mozilla/security/nss/lib/util/pkcs11n.h 2011-11-10 12:44:24.146886778 -0600
4 @@ -362,7 +362,7 @@ typedef CK_ULONG CK_TRUST;
5 * cast the resulting value to the deprecated type in the #define, thus
6 * producting the warning when the #define is used.
7 */
8 -#if (__GNUC__ == 4) && (__GNUC_MINOR < 5)
9 +#if (__GNUC__ == 4) && (__GNUC_MINOR__ < 5)
10 /* The mac doesn't like the friendlier deprecate messages. I'm assuming this
11 * is a gcc version issue rather than mac or ppc specific */
12 typedef CK_TRUST __CKT_NSS_UNTRUSTED __attribute__((deprecated));