fd3f9b16d3
It probably needs plenty more polishing, especially on !NetBSD. Python 2.4 will remain the default for some time. For the new features in Python 2.5, look here: * http://docs.python.org/whatsnew/whatsnew25.html
17 lines
473 B
Text
17 lines
473 B
Text
$NetBSD: patch-ag,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $
|
|
|
|
--- Misc/setuid-prog.c.orig 1998-09-10 16:18:09.000000000 -0400
|
|
+++ Misc/setuid-prog.c
|
|
@@ -70,6 +70,12 @@
|
|
#define environ _environ
|
|
#endif
|
|
|
|
+#if defined(__APPLE__)
|
|
+# include <sys/time.h>
|
|
+# include <crt_externs.h>
|
|
+# define environ (*_NSGetEnviron())
|
|
+#endif /* __APPLE__ */
|
|
+
|
|
/* don't change def_IFS */
|
|
char def_IFS[] = "IFS= \t\n";
|
|
/* you may want to change def_PATH, but you should really change it in */
|