diff options
author | joerg <joerg@pkgsrc.org> | 2008-01-24 20:15:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-01-24 20:15:20 +0000 |
commit | 9440aca7f7b102380a91c5f681ff29848fa1e955 (patch) | |
tree | 7457b4083f0ab8192a899015852750f769b211bb /x11/xproto | |
parent | 0a0b62b113488595d2eb173b4e8d032f3a3c8668 (diff) | |
download | pkgsrc-9440aca7f7b102380a91c5f681ff29848fa1e955.tar.gz |
Disable visibility code on Solaris, even when compiling with GCC 4.
From Gilles Dauphin in PR 37634.
Diffstat (limited to 'x11/xproto')
-rw-r--r-- | x11/xproto/Makefile | 3 | ||||
-rw-r--r-- | x11/xproto/distinfo | 3 | ||||
-rw-r--r-- | x11/xproto/patches/patch-ad | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/x11/xproto/Makefile b/x11/xproto/Makefile index f33a9a3649d..64dc539a870 100644 --- a/x11/xproto/Makefile +++ b/x11/xproto/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2008/01/15 22:58:55 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/01/24 20:15:20 joerg Exp $ # DISTNAME= xproto-7.0.11 +PKGREVISION= 1 CATEGORIES= x11 devel MASTER_SITES= http://xorg.freedesktop.org/releases/individual/proto/ EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xproto/distinfo b/x11/xproto/distinfo index 8c424d6b8bc..94e6883eafe 100644 --- a/x11/xproto/distinfo +++ b/x11/xproto/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2008/01/15 22:58:55 wiz Exp $ +$NetBSD: distinfo,v 1.9 2008/01/24 20:15:20 joerg Exp $ SHA1 (xproto-7.0.11.tar.bz2) = 61dd55a4fa98d256ce27c2824c0beec94613cee9 RMD160 (xproto-7.0.11.tar.bz2) = 9557b9646df7155977bfa64bf7d6eb1c73ec42a2 @@ -6,3 +6,4 @@ Size (xproto-7.0.11.tar.bz2) = 146330 bytes SHA1 (patch-aa) = d3afb9b492c36d360fba129925f5a5e504400282 SHA1 (patch-ab) = c1ab51ee280b41f17f7780b880ae6cb70c0e4150 SHA1 (patch-ac) = f53e93c62711b7c12c525b1267951b63c8783875 +SHA1 (patch-ad) = 636ad47ffd0d47e286737b24c768f597ea9da1ab diff --git a/x11/xproto/patches/patch-ad b/x11/xproto/patches/patch-ad new file mode 100644 index 00000000000..2900881a2b9 --- /dev/null +++ b/x11/xproto/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2008/01/24 20:15:20 joerg Exp $ + +--- Xfuncproto.h.in.orig 2008-01-24 21:05:17.000000000 +0100 ++++ Xfuncproto.h.in +@@ -85,7 +85,7 @@ in this Software without prior written a + # define _X_ATTRIBUTE_PRINTF(x,y) + #endif /* GNUC >= 4 */ + +-#if defined(__GNUC__) && (__GNUC__ >= 4) ++#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__sun__) + # define _X_EXPORT __attribute__((visibility("default"))) + # define _X_HIDDEN __attribute__((visibility("hidden"))) + # define _X_INTERNAL __attribute__((visibility("internal"))) |