]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
BPO-41100: Support macOS 11 when building (GH-21113)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 25 Jun 2020 15:15:06 +0000 (08:15 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2020 15:15:06 +0000 (08:15 -0700)
(cherry picked from commit 8ea6353f60625c96ce96588c70ff24a77f8c71f9)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst [new file with mode: 0644]
configure
configure.ac

diff --git a/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst b/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
new file mode 100644 (file)
index 0000000..ded66b5
--- /dev/null
@@ -0,0 +1 @@
+Support macOS 11 when building.
index 88865616457621571e73667a72002e20df34e9b3..96dcd0dcd5fec1785bac6f6da6bc9b240b7b26b2 100755 (executable)
--- a/configure
+++ b/configure
@@ -3398,7 +3398,7 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
   # 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
index d8de9d49439c31ac21dc80b2a1c1968606970a7c..18a044629a78533505c39ce879783b267410e27c 100644 (file)
@@ -498,7 +498,7 @@ case $ac_sys_system/$ac_sys_release in
   # 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