pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libpixman Don't try and do visibility stuff w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c24d2647bc9
branches:  trunk
changeset: 515806:0c24d2647bc9
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jul 08 21:07:04 2006 +0000

description:
Don't try and do visibility stuff with gcc on Solaris as the Solaris
gcc/ld doesn't support it.
>From Gilles Dauphin in PR pkg/31545

diffstat:

 graphics/libpixman/distinfo         |   3 ++-
 graphics/libpixman/patches/patch-ab |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r ce171b6383ed -r 0c24d2647bc9 graphics/libpixman/distinfo
--- a/graphics/libpixman/distinfo       Sat Jul 08 17:34:02 2006 +0000
+++ b/graphics/libpixman/distinfo       Sat Jul 08 21:07:04 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2005/11/04 17:56:38 tv Exp $
+$NetBSD: distinfo,v 1.11 2006/07/08 21:07:04 markd Exp $
 
 SHA1 (libpixman-0.1.6.tar.gz) = cc596882ea8f41aada6e8d8e0e8ab2bf9303fb33
 RMD160 (libpixman-0.1.6.tar.gz) = 28f00d5d1d31fa0647e7a02c880fd06bd0d77d80
 Size (libpixman-0.1.6.tar.gz) = 387830 bytes
 SHA1 (patch-aa) = 8ac37437d9e53f0c37a9c25f9a61691187feba92
+SHA1 (patch-ab) = 9ac11c4792ce389d267a4c4d2ea957265d7fa051
diff -r ce171b6383ed -r 0c24d2647bc9 graphics/libpixman/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libpixman/patches/patch-ab       Sat Jul 08 21:07:04 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2006/07/08 21:07:04 markd Exp $
+
+--- src/slim_internal.h.orig   2006-07-09 00:45:35.823806000 +1200
++++ src/slim_internal.h
+@@ -47,7 +47,7 @@
+ /* ??? Not marked with "slim" because that makes it look too much
+    like the function name instead of just an attribute.  */
+ 
+-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
++#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun__)
+ #define pixman_private        __attribute__((__visibility__("hidden")))
+ #else
+ #define pixman_private
+@@ -77,7 +77,7 @@
+    the C symbol "EXT_foo", which is renamed to "foo" at the assembly
+    level.  */
+ 
+-#if __GNUC__ >= 3 && defined(__ELF__)
++#if __GNUC__ >= 3 && defined(__ELF__) && !defined(__sun__)
+ # define slim_hidden_proto(name)      slim_hidden_proto1(name, INT_##name)
+ # define slim_hidden_def(name)                slim_hidden_def1(name, INT_##name)
+ # define slim_hidden_proto1(name, internal)                           \



Home | Main Index | Thread Index | Old Index