summaryrefslogtreecommitdiff
path: root/devel/libgnome
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-04-24 20:35:15 +0000
committerdanw <danw@pkgsrc.org>2004-04-24 20:35:15 +0000
commit85c1572e6a66be70ccebc2e76a0d893d7b116e72 (patch)
tree5824e3e35119f39e228b621b543b8d7f53d2a9b8 /devel/libgnome
parent25d1dbd203a446579cf803ef040f7e0488c3ff80 (diff)
downloadpkgsrc-85c1572e6a66be70ccebc2e76a0d893d7b116e72.tar.gz
darwin fix
Diffstat (limited to 'devel/libgnome')
-rw-r--r--devel/libgnome/distinfo3
-rw-r--r--devel/libgnome/patches/patch-af16
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/libgnome/distinfo b/devel/libgnome/distinfo
index 027e408cd02..52842d73064 100644
--- a/devel/libgnome/distinfo
+++ b/devel/libgnome/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2004/04/01 18:22:04 jmmv Exp $
+$NetBSD: distinfo,v 1.12 2004/04/24 20:35:15 danw Exp $
SHA1 (libgnome-2.6.0.tar.bz2) = 1e5e3025af775b24b21226f610672089fe251fe5
Size (libgnome-2.6.0.tar.bz2) = 1070613 bytes
SHA1 (patch-aa) = 809d964c6233d1a30eb195272a59970e497caea5
SHA1 (patch-ac) = 3322e5de39ebe36b2174fceec4adecb6b168a4f1
SHA1 (patch-ae) = 9a1f197ced91e37757aef84b0f3160bea5d0cf78
+SHA1 (patch-af) = 783e295d1714b7c121538ed7459ffbcf3ff3713a
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.