Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394983

Summary: dev-libs/nss-3.13.1 - Typo in pkcs11n.h
Product: Gentoo Linux Reporter: walt <wsheets>
Component: [OLD] LibraryAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal Keywords: InOverlay
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.