summaryrefslogtreecommitdiff
path: root/python/Python-2.6.1-py8067.patch
diff options
context:
space:
mode:
Diffstat (limited to 'python/Python-2.6.1-py8067.patch')
-rw-r--r--python/Python-2.6.1-py8067.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/Python-2.6.1-py8067.patch b/python/Python-2.6.1-py8067.patch
new file mode 100644
index 000000000000..7a88a9348058
--- /dev/null
+++ b/python/Python-2.6.1-py8067.patch
@@ -0,0 +1,12 @@
+http://bugs.python.org/issue8067 - needed for building on Mac OSX >= 10.6
+--- misc/Python-2.6.1/configure 2010-05-06 20:59:52.000000000 +0200
++++ misc/build/Python-2.6.1/configure 2010-05-06 20:59:46.000000000 +0200
+@@ -2120,6 +2120,8 @@
+ # has no effect, don't bother defining them
+ Darwin/[6789].*)
+ define_xopen_source=no;;
++ Darwin/1[0-9].*)
++ define_xopen_source=no;;
+ # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
+ # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
+ # or has another value. By not (re)defining it, the defaults come in place.