summaryrefslogtreecommitdiff
path: root/devel/libgnomeui
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-02-08 05:47:48 +0000
committerminskim <minskim@pkgsrc.org>2006-02-08 05:47:48 +0000
commit3843d99b7e05b9b8e40b733ac061573195ebeac2 (patch)
treebac67fdc0b94bfe0c0256710f80755170fda749f /devel/libgnomeui
parent0edb1ec6f14554f588b84ba2d59e38da96e65df1 (diff)
downloadpkgsrc-3843d99b7e05b9b8e40b733ac061573195ebeac2.tar.gz
Use _NSGetEnviron() instead of environ on Darwin. Should fix PR
pkg/31913. Reported in GNOME Bugzilla #330350.
Diffstat (limited to 'devel/libgnomeui')
-rw-r--r--devel/libgnomeui/distinfo3
-rw-r--r--devel/libgnomeui/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/devel/libgnomeui/distinfo b/devel/libgnomeui/distinfo
index b5450afd739..11277bf761a 100644
--- a/devel/libgnomeui/distinfo
+++ b/devel/libgnomeui/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2006/02/07 21:31:04 drochner Exp $
+$NetBSD: distinfo,v 1.18 2006/02/08 05:47:48 minskim Exp $
SHA1 (libgnomeui-2.12.1.tar.bz2) = e542ed58909d9a9e9b6c08e4c1fc016e996ffa73
RMD160 (libgnomeui-2.12.1.tar.bz2) = be9feadd71d2e1d9be1dee1b6fbb661ca222c160
Size (libgnomeui-2.12.1.tar.bz2) = 1852044 bytes
+SHA1 (patch-aa) = 5dd82f0e510d0035b55da63b1e200d0c38fa0b5a
diff --git a/devel/libgnomeui/patches/patch-aa b/devel/libgnomeui/patches/patch-aa
new file mode 100644
index 00000000000..c47d9d4d7c7
--- /dev/null
+++ b/devel/libgnomeui/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.5 2006/02/08 05:47:48 minskim Exp $
+
+May be removed when GNOME Bugzilla #330350 is resolved.
+
+--- file-chooser/sucky-desktop-item.c.orig 2005-07-11 13:04:12.000000000 -0700
++++ file-chooser/sucky-desktop-item.c
+@@ -67,7 +67,12 @@
+
+ #define sure_string(s) ((s)!=NULL?(s):"")
+
++#if defined(__APPLE__) && defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
++ #include <crt_externs.h>
++ #define environ (*_NSGetEnviron())
++#else
+ extern char **environ;
++#endif
+
+ struct _SuckyDesktopItem {
+ int refcount;