From b4bda56e4b9ccfffab9afa96931b73a6ce3e155a Mon Sep 17 00:00:00 2001 From: Nicolas Pinto Date: Sat, 28 May 2011 14:15:19 -0400 Subject: [PATCH] Add patch to fix _environ symbol missing bug in python27, see http://bugs.python.org/issue1602133 --- .../patches/python27/patch-Modules-posixmodule.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pythonbrew/patches/python27/patch-Modules-posixmodule.diff diff --git a/pythonbrew/patches/python27/patch-Modules-posixmodule.diff b/pythonbrew/patches/python27/patch-Modules-posixmodule.diff new file mode 100644 index 0000000..2f090a5 --- /dev/null +++ b/pythonbrew/patches/python27/patch-Modules-posixmodule.diff @@ -0,0 +1,11 @@ +--- Modules/posixmodule.c.bak 2011-05-28 14:09:48.000000000 -0400 ++++ Modules/posixmodule.c 2011-05-28 14:10:34.000000000 -0400 +@@ -477,7 +477,7 @@ + d = PyDict_New(); + if (d == NULL) + return NULL; +-#ifdef WITH_NEXT_FRAMEWORK ++#ifdef __APPLE__ + if (environ == NULL) + environ = *_NSGetEnviron(); + #endif