summaryrefslogtreecommitdiff
path: root/graphics/glitz
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-07-06 23:43:27 +0000
committermarkd <markd@pkgsrc.org>2006-07-06 23:43:27 +0000
commitdf196cae30e5b4a6f3588e9d9911fc1062648c57 (patch)
tree2f6e10898ba743b4b10ab89fdf8c356bd1fa4f5a /graphics/glitz
parent596cee5957b1d9624ca86858b481ecd79ea5baa2 (diff)
downloadpkgsrc-df196cae30e5b4a6f3588e9d9911fc1062648c57.tar.gz
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/33919.
Diffstat (limited to 'graphics/glitz')
-rw-r--r--graphics/glitz/distinfo3
-rw-r--r--graphics/glitz/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo
index 3d217007f15..0ab6ad11c8a 100644
--- a/graphics/glitz/distinfo
+++ b/graphics/glitz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2006/07/04 15:12:58 drochner Exp $
+$NetBSD: distinfo,v 1.13 2006/07/06 23:43:27 markd Exp $
SHA1 (glitz-0.5.6.tar.gz) = 81604bf02ceda85ea32b52423f78a883aaec6dc6
RMD160 (glitz-0.5.6.tar.gz) = 547ef1be273856942e0fa36c097c4acb367336b2
Size (glitz-0.5.6.tar.gz) = 459224 bytes
SHA1 (patch-aa) = d725f03f96082b6d9b31c608a0e4c1beb71e87f1
+SHA1 (patch-ab) = b51728a187a7628df36f3ae241083398a7d04da0
diff --git a/graphics/glitz/patches/patch-ab b/graphics/glitz/patches/patch-ab
new file mode 100644
index 00000000000..0692b7969ee
--- /dev/null
+++ b/graphics/glitz/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.3 2006/07/06 23:43:27 markd Exp $
+
+--- src/glitzint.h.orig 2006-07-07 11:24:14.200890000 +1200
++++ src/glitzint.h
+@@ -69,7 +69,7 @@
+ # define sqrtf(a) sqrt (a)
+ #endif
+
+-#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) \
+@@ -89,7 +89,7 @@
+ # define slim_hidden_def(name)
+ #endif
+
+-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
++#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun__)
+ #define __internal_linkage __attribute__((__visibility__("hidden")))
+ #else
+ #define __internal_linkage