pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xproto Disable visibility code on Solaris, even wh...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bfd49bf0dd84
branches: trunk
changeset: 538020:bfd49bf0dd84
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jan 24 20:15:20 2008 +0000
description:
Disable visibility code on Solaris, even when compiling with GCC 4.
>From Gilles Dauphin in PR 37634.
diffstat:
x11/xproto/Makefile | 3 ++-
x11/xproto/distinfo | 3 ++-
x11/xproto/patches/patch-ad | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r 20f277dad56f -r bfd49bf0dd84 x11/xproto/Makefile
--- a/x11/xproto/Makefile Thu Jan 24 20:09:14 2008 +0000
+++ b/x11/xproto/Makefile Thu Jan 24 20:15:20 2008 +0000
@@ -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 -r 20f277dad56f -r bfd49bf0dd84 x11/xproto/distinfo
--- a/x11/xproto/distinfo Thu Jan 24 20:09:14 2008 +0000
+++ b/x11/xproto/distinfo Thu Jan 24 20:15:20 2008 +0000
@@ -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 @@
SHA1 (patch-aa) = d3afb9b492c36d360fba129925f5a5e504400282
SHA1 (patch-ab) = c1ab51ee280b41f17f7780b880ae6cb70c0e4150
SHA1 (patch-ac) = f53e93c62711b7c12c525b1267951b63c8783875
+SHA1 (patch-ad) = 636ad47ffd0d47e286737b24c768f597ea9da1ab
diff -r 20f277dad56f -r bfd49bf0dd84 x11/xproto/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xproto/patches/patch-ad Thu Jan 24 20:15:20 2008 +0000
@@ -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")))
Home |
Main Index |
Thread Index |
Old Index