pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/glitz Don't try and do visibility stuff with ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce5b92e2041e
branches: trunk
changeset: 515714:ce5b92e2041e
user: markd <markd%pkgsrc.org@localhost>
date: Thu Jul 06 23:43:27 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/33919.
diffstat:
graphics/glitz/distinfo | 3 ++-
graphics/glitz/patches/patch-ab | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r 5f6959789364 -r ce5b92e2041e graphics/glitz/distinfo
--- a/graphics/glitz/distinfo Thu Jul 06 23:35:15 2006 +0000
+++ b/graphics/glitz/distinfo Thu Jul 06 23:43:27 2006 +0000
@@ -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 -r 5f6959789364 -r ce5b92e2041e graphics/glitz/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glitz/patches/patch-ab Thu Jul 06 23:43:27 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index