pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libgnomeui Use _NSGetEnviron() instead of enviro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/00746a9cb3ec
branches: trunk
changeset: 507774:00746a9cb3ec
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Feb 08 05:47:48 2006 +0000
description:
Use _NSGetEnviron() instead of environ on Darwin. Should fix PR
pkg/31913. Reported in GNOME Bugzilla #330350.
diffstat:
devel/libgnomeui/distinfo | 3 ++-
devel/libgnomeui/patches/patch-aa | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 995d6cf70846 -r 00746a9cb3ec devel/libgnomeui/distinfo
--- a/devel/libgnomeui/distinfo Wed Feb 08 05:15:49 2006 +0000
+++ b/devel/libgnomeui/distinfo Wed Feb 08 05:47:48 2006 +0000
@@ -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 -r 995d6cf70846 -r 00746a9cb3ec devel/libgnomeui/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgnomeui/patches/patch-aa Wed Feb 08 05:47:48 2006 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index