Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394983 - dev-libs/nss-3.13.1 - Typo in pkcs11n.h
Summary: dev-libs/nss-3.13.1 - Typo in pkcs11n.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2011-12-16 19:55 UTC by walt
Modified: 2011-12-19 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description walt 2011-12-16 19:55:41 UTC
Found a typo while compiling qemu-kvm from git.

Reproducible: Always




I did this as a temporary workaround:

--- /usr/include/nss/pkcs11n.h.orig	2011-12-16 11:35:27.000000000 -0800
+++ /usr/include/nss/pkcs11n.h	2011-12-16 11:35:55.000000000 -0800
@@ -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));
Comment 1 Jory A. Pratt gentoo-dev 2011-12-17 13:53:38 UTC
Has already been fixed in overlay, it will be moved to tree later today.
Comment 2 Jory A. Pratt gentoo-dev 2011-12-19 14:16:02 UTC
-r1 has been moved to the tree, thanks.