pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37634: x11/xproto gcc visibility solaris



>Number:         37634
>Category:       pkg
>Synopsis:       x11/xproto gcc visibility solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 28 11:45:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_120012-14 i86pc


>Description:


like PR 37633


>How-To-Repeat:





>Fix:


--- Xfuncproto.h.in.orig        Wed Oct 25 23:45:05 2006
+++ Xfuncproto.h.in     Sat Apr  7 01:31:26 2007
@@ -85,7 +85,7 @@
 # define _X_ATTRIBUTE_PRINTF(x,y)
 #endif /* GNUC >= 4 */
 
-#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
+#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303) && 
!defined(__sun__)
 # define _X_EXPORT      __attribute__((visibility("default")))
 # define _X_HIDDEN      __attribute__((visibility("hidden")))
 # define _X_INTERNAL    __attribute__((visibility("internal")))






Home | Main Index | Thread Index | Old Index