pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6d353083741
branches:  trunk
changeset: 515807:d6d353083741
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jul 08 21:14:14 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/33917

diffstat:

 graphics/cairo/distinfo         |   4 +++-
 graphics/cairo/patches/patch-ac |  22 ++++++++++++++++++++++
 graphics/cairo/patches/patch-ad |  22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (66 lines):

diff -r 0c24d2647bc9 -r d6d353083741 graphics/cairo/distinfo
--- a/graphics/cairo/distinfo   Sat Jul 08 21:07:04 2006 +0000
+++ b/graphics/cairo/distinfo   Sat Jul 08 21:14:14 2006 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.18 2006/07/04 15:14:49 drochner Exp $
+$NetBSD: distinfo,v 1.19 2006/07/08 21:14:14 markd Exp $
 
 SHA1 (cairo-1.2.0.tar.gz) = c5da7f89cdd3782102357f99a47f516d11661e92
 RMD160 (cairo-1.2.0.tar.gz) = 9dd76e43e881dfd3f20a81fc0f946e302ed7993c
 Size (cairo-1.2.0.tar.gz) = 2659930 bytes
 SHA1 (patch-aa) = 7d4b4fa8f685a64bbd703d2ee8ae5f6ad28d196d
 SHA1 (patch-ab) = d408881c714686a3481f66dcb069c763359313a6
+SHA1 (patch-ac) = de91ee6dd733c56957de83a1880a583eaf601126
+SHA1 (patch-ad) = 6778eecd56c622382ebd6c870193cd805aaf9d9c
diff -r 0c24d2647bc9 -r d6d353083741 graphics/cairo/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairo/patches/patch-ac   Sat Jul 08 21:14:14 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2006/07/08 21:14:14 markd Exp $
+
+--- src/cairoint.h.orig        2006-07-09 00:58:33.598209000 +1200
++++ src/cairoint.h
+@@ -67,7 +67,7 @@
+ 
+ CAIRO_BEGIN_DECLS
+ 
+-#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)                           \
+@@ -95,7 +95,7 @@ CAIRO_BEGIN_DECLS
+ #endif
+ 
+ /* 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 cairo_private         __attribute__((__visibility__("hidden")))
+ #else
+ #define cairo_private
diff -r 0c24d2647bc9 -r d6d353083741 graphics/cairo/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairo/patches/patch-ad   Sat Jul 08 21:14:14 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2006/07/08 21:14:14 markd Exp $
+
+--- pixman/src/slim_internal.h.orig    2006-07-09 01:01:35.889958000 +1200
++++ pixman/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