diff options
author | root <root@rshg054.dnsready.net> | 2011-12-29 23:14:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-29 23:14:54 +0000 |
commit | 8a823402bd45dc875237a20f174ecbe64e1bae4d (patch) | |
tree | f520fcd3f38fc11c721bd183e92d1b65c37ca1a9 /extra/nss/bug702090.patch | |
parent | 5cd3c62bce23c2b25c28b22da71f664b48703ad2 (diff) |
Thu Dec 29 23:14:54 UTC 2011
Diffstat (limited to 'extra/nss/bug702090.patch')
-rw-r--r-- | extra/nss/bug702090.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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)); |