From 9a116163d91cd8d5a0b7d6c653d33a258ce5126b Mon Sep 17 00:00:00 2001 From: Lawrence D'Anna Date: Tue, 21 Jul 2020 15:25:50 -0700 Subject: [PATCH 1/2] bugfix, arm64 Mac OS, missing #include MAC_OS_X_VERSION_MAX_ALLOWED is defined in this header. Because it is not included nsexeclength is defined as the wrong type, causing an incompatible pointer to be passed to _NSGetExecutablePath --- Modules/getpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/getpath.c b/Modules/getpath.c index f7a6dd40443054..5cf173378d80a1 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -11,6 +11,7 @@ #ifdef __APPLE__ # include +# include #endif /* Search in some common locations for the associated Python libraries. From 5ec281e25c102531eb410d134e8a1e3abb3ce703 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2020 22:31:08 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Misc/NEWS.d/next/macOS/2020-07-21-22-31-07.bpo-41100.DpyP6E.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/macOS/2020-07-21-22-31-07.bpo-41100.DpyP6E.rst diff --git a/Misc/NEWS.d/next/macOS/2020-07-21-22-31-07.bpo-41100.DpyP6E.rst b/Misc/NEWS.d/next/macOS/2020-07-21-22-31-07.bpo-41100.DpyP6E.rst new file mode 100644 index 00000000000000..adfaca4149d825 --- /dev/null +++ b/Misc/NEWS.d/next/macOS/2020-07-21-22-31-07.bpo-41100.DpyP6E.rst @@ -0,0 +1 @@ +fix a bug in getpath.c for arm64 Mac OS \ No newline at end of file