summaryrefslogtreecommitdiff
path: root/lang/python23-nth/patches/patch-da
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2005-01-23 22:57:19 +0000
committerrecht <recht@pkgsrc.org>2005-01-23 22:57:19 +0000
commite45eeb9d700752e0eb8d781f1ceea43489fecc0f (patch)
tree6d774ff2b2c2245cddd059ad1510a349b329f624 /lang/python23-nth/patches/patch-da
parent1e0e784ec4adee4dfa437d0788b375f3d1b6a908 (diff)
downloadpkgsrc-e45eeb9d700752e0eb8d781f1ceea43489fecc0f.tar.gz
Intial import of Python 2.3.4 / without thread
support (what used to be the python23 package). Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package has been compiled without support for threads.
Diffstat (limited to 'lang/python23-nth/patches/patch-da')
-rw-r--r--lang/python23-nth/patches/patch-da17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/python23-nth/patches/patch-da b/lang/python23-nth/patches/patch-da
new file mode 100644
index 00000000000..15019c1e3ac
--- /dev/null
+++ b/lang/python23-nth/patches/patch-da
@@ -0,0 +1,17 @@
+$NetBSD: patch-da,v 1.1.1.1 2005/01/23 22:57:19 recht Exp $
+
+--- Misc/setuid-prog.c.orig Thu Nov 25 13:11:28 2004
++++ Misc/setuid-prog.c Thu Nov 25 13:11:27 2004
+@@ -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 */