summaryrefslogtreecommitdiff
path: root/devel/libgnomeui/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgnomeui/patches/patch-aa')
-rw-r--r--devel/libgnomeui/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
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;