office-gobmx/python/Python-2.6.1-py8067.patch
Christian Lohmaier e9d4bad440 allow building internal Python on Mac (needs to be built as framework)
fixes #i111496# (meta), #i111498# & #i111500#
(along with the similar commits to the other repos)
2011-06-06 19:29:37 +02:00

12 lines
623 B
Diff

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.