Fix build on Solaris.

This commit is contained in:
markd 2006-10-09 10:54:12 +00:00
parent 620608ffa5
commit 8ccd7eb576
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.20 2006/10/04 17:15:05 wiz Exp $
$NetBSD: distinfo,v 1.21 2006/10/09 10:54:12 markd Exp $
SHA1 (fontconfig-2.4.1.tar.gz) = 4e7d0f86bb4b637b7e66700068c50e044d3cc2e0
RMD160 (fontconfig-2.4.1.tar.gz) = f48bd6a0ccc0cdd945659defeb9d944c629297ff
@ -6,3 +6,4 @@ Size (fontconfig-2.4.1.tar.gz) = 1270946 bytes
SHA1 (patch-aa) = 7aa7831ccc818d0f501df941a1d12f3ed610d33b
SHA1 (patch-ac) = 965087ba6e457daf17c55fc3573b51fd6425be93
SHA1 (patch-ad) = 258665b323eddd9fc7f11ab7706985002299f011
SHA1 (patch-ae) = 403d973145446840e6693c0b2e1bc87357623627

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.4 2006/10/09 10:54:12 markd Exp $
--- src/fcint.h.orig 2006-10-09 23:26:05.064812000 +1300
+++ 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"