summaryrefslogtreecommitdiff
path: root/fonts/fontconfig/patches/patch-ae
blob: 6ee9db295496e2dc36ac429655c36e0dfa760a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.5 2006/11/28 16:15:30 tv Exp $

--- src/fcint.h.orig	2006-09-15 03:06:40.000000000 -0400
+++ src/fcint.h
@@ -35,7 +35,7 @@
 #include <inttypes.h>
 #elif defined(HAVE_STDINT_H)
 #include <stdint.h>
-#else
+#elif !defined(__INTERIX)
 #error missing C99 integer data types
 #endif
 #include <string.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"