summaryrefslogtreecommitdiff
path: root/devel/libgnome/patches
diff options
context:
space:
mode:
authordanw <danw>2004-04-24 20:35:15 +0000
committerdanw <danw>2004-04-24 20:35:15 +0000
commit58b6759ee4c10807f6188e878c75319805f81b9b (patch)
tree5824e3e35119f39e228b621b543b8d7f53d2a9b8 /devel/libgnome/patches
parent1e639cd8dacca1aa2e5ed9a4192cb818f2ccd10d (diff)
downloadpkgsrc-58b6759ee4c10807f6188e878c75319805f81b9b.tar.gz
darwin fix
Diffstat (limited to 'devel/libgnome/patches')
-rw-r--r--devel/libgnome/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libgnome/patches/patch-af b/devel/libgnome/patches/patch-af
new file mode 100644
index 00000000000..3f549c5af03
--- /dev/null
+++ b/devel/libgnome/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.3 2004/04/24 20:35:15 danw Exp $
+
+--- libgnome/gnome-util.c.orig Mon Apr 12 19:17:51 2004
++++ libgnome/gnome-util.c
+@@ -137,6 +137,11 @@ g_extension_pointer (const char * path)
+ }
+ }
+
++#if defined(__APPLE__)
++#include <crt_externs.h>
++#define environ (*_NSGetEnviron())
++#endif
++
+ /**
+ * gnome_setenv:
+ * @name: An environment variable name.