[Fontconfig] fontconfig: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Thu Oct 25 14:36:56 PDT 2007


 src/fcint.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7a1a7c0c15793e77cb162dd3393971332896460e
Author: Keith Packard <keithp at koto.keithp.com>
Date:   Thu Oct 25 14:36:24 2007 -0700

    Build fix for Solaris 10 with GCC.
    
    Solaris 10 with GCC doesn't appear capable of supporting the symbol
    visibility stuff, so disable it.

diff --git a/src/fcint.h b/src/fcint.h
index c24d788..ce2ec46 100644
--- a/src/fcint.h
+++ b/src/fcint.h
@@ -111,7 +111,7 @@
 #define FC_BANK_LANGS	    0xfcfcfcfc
 
 /* slim_internal.h */
-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
+#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun)
 #define FcPrivate		__attribute__((__visibility__("hidden")))
 #define HAVE_GNUC_ATTRIBUTE 1
 #include "fcalias.h"


More information about the Fontconfig mailing list