Skip to content
Permalink
Browse files

python*: patch configure to recognise darwin 20

  • Loading branch information
jmroot committed Jun 29, 2020
1 parent d16905a commit 140c09dc2b1650586c7886f4aec9d0d889809066
@@ -49,7 +49,8 @@ patchfiles patch-Makefile.pre.in.diff \
patch-setup.py-disabled_modules.diff \
patch-libedit.diff \
yosemite.patch \
improve-QuickTime.h-check.patch
improve-QuickTime.h-check.patch \
darwin20.diff

depends_lib port:gettext port:zlib \
port:sqlite3 port:db46 port:ncurses \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:37:04.000000000 +1000
+++ configure 2020-06-29 23:38:23.000000000 +1000
@@ -2881,7 +2881,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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
@@ -40,7 +40,8 @@ patchfiles patch-Makefile.pre.in.diff \
patch-configure.diff \
patch-libedit.diff \
enable-loadable-sqlite-extensions.patch \
patch-_osx_support.py.diff
patch-_osx_support.py.diff \
darwin20.diff

depends_build port:pkgconfig
depends_lib port:bzip2 \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:33:10.000000000 +1000
+++ configure 2020-06-29 23:35:47.000000000 +1000
@@ -3409,7 +3409,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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
@@ -41,7 +41,8 @@ patchfiles patch-setup.py.diff \
patch-libedit.diff \
patch-Lib-site.py-omit_local_site_packages.diff \
patch-Include-pyport.h.diff \
uuid-64bit.patch
uuid-64bit.patch \
darwin20.diff

# https://bugs.python.org/issue21811
patchfiles-append patch-configure_configure.ac-yosemite_configure_fixes.diff \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:30:34.000000000 +1000
+++ configure 2020-06-29 23:31:22.000000000 +1000
@@ -3103,7 +3103,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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
@@ -40,7 +40,8 @@ patchfiles patch-setup.py.diff \
patch-libedit.diff \
omit-local-site-packages.patch \
patch-Include-pyport.h.diff \
uuid-64bit.patch
uuid-64bit.patch \
darwin20.diff

# https://bugs.python.org/issue21811
patchfiles-append yosemite-configure-fixes.patch \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:27:08.000000000 +1000
+++ configure 2020-06-29 23:27:43.000000000 +1000
@@ -3393,7 +3393,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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
@@ -42,7 +42,8 @@ patchfiles patch-setup.py.diff \
omit-local-site-packages.patch \
patch-Include-pyport.h.diff \
uuid-64bit.patch \
patch-_osx_support.py.diff
patch-_osx_support.py.diff \
darwin20.diff

depends_build port:pkgconfig
depends_lib port:bzip2 \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:23:28.000000000 +1000
+++ configure 2020-06-29 23:24:39.000000000 +1000
@@ -3422,7 +3422,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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
@@ -38,7 +38,8 @@ patchfiles patch-setup.py.diff \
patch-xcode4bug.diff \
Modules_posixmodule.c.diff \
uuid-64bit.patch \
patch-_osx_support.py.diff
patch-_osx_support.py.diff \
darwin20.diff

depends_build port:pkgconfig
depends_lib port:bzip2 \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:18:26.000000000 +1000
+++ configure 2020-06-29 23:18:50.000000000 +1000
@@ -3494,7 +3494,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][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

0 comments on commit 140c09d

Please sign in to comment.
You can’t perform that action at this time.