summaryrefslogtreecommitdiff
path: root/lang/python26/patches
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python26/patches')
-rw-r--r--lang/python26/patches/patch-ag17
-rw-r--r--lang/python26/patches/patch-ak22
2 files changed, 0 insertions, 39 deletions
diff --git a/lang/python26/patches/patch-ag b/lang/python26/patches/patch-ag
deleted file mode 100644
index dc9bb6a0fe3..00000000000
--- a/lang/python26/patches/patch-ag
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ag,v 1.1.1.1 2009/04/19 14:42:50 wiz 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 */
diff --git a/lang/python26/patches/patch-ak b/lang/python26/patches/patch-ak
deleted file mode 100644
index 9bc0a138c00..00000000000
--- a/lang/python26/patches/patch-ak
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ak,v 1.1.1.1 2009/04/19 14:42:50 wiz Exp $
-
---- Modules/posixmodule.c.orig 2007-04-04 14:30:56.000000000 -0400
-+++ Modules/posixmodule.c
-@@ -339,7 +339,7 @@ extern int lstat(const char *, struct st
- #endif
-
- /* Return a dictionary corresponding to the POSIX environment table */
--#ifdef WITH_NEXT_FRAMEWORK
-+#ifdef __APPLE__
- /* On Darwin/MacOSX a shared library or framework has no access to
- ** environ directly, we must obtain it with _NSGetEnviron().
- */
-@@ -357,7 +357,7 @@ convertenviron(void)
- d = PyDict_New();
- if (d == NULL)
- return NULL;
--#ifdef WITH_NEXT_FRAMEWORK
-+#ifdef __APPLE__
- if (environ == NULL)
- environ = *_NSGetEnviron();
- #endif