summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-04-06 21:12:03 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-06 22:25:33 +0200
commita9fa3fb0954ab0030b875425b7ff533294447734 (patch)
tree2c7ad9a1c9b3fa980778899fd5bce2c7f63e62c2 /Ports
parentfc92a4b2285cb0179badffe7bdf466d8f83a86ca (diff)
downloadserenity-a9fa3fb0954ab0030b875425b7ff533294447734.zip
Ports: Update Python to 3.9.4
Released on 2021-04-04 as a hotfix release superseding 3.9.3. https://www.python.org/downloads/release/python-394/
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md2
-rw-r--r--Ports/python3/patches/define-have-sigset-t.patch4
-rw-r--r--Ports/python3/patches/define-py-force-utf8-locale.patch4
-rw-r--r--Ports/python3/patches/disable-setrlimit.patch4
-rw-r--r--Ports/python3/patches/fix-autoconf.patch16
-rw-r--r--Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch8
-rw-r--r--Ports/python3/patches/remove-setlocale-from-preconfig.patch4
-rw-r--r--Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch8
-rw-r--r--Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch4
-rw-r--r--Ports/python3/version.sh4
10 files changed, 29 insertions, 29 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index c395bdbfcc..8b7be0cc51 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -73,7 +73,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |
| [`printf`](printf/) | printf (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
| [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.28 | https://github.com/8bitbubsy/pt2-clone |
-| [`python3`](python3/) | Python | 3.9.2 | https://www.python.org/ |
+| [`python3`](python3/) | Python | 3.9.4 | https://www.python.org/ |
| [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake |
| [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ |
| [`scummvm`](scummvm/) | ScummVM | 2.2.0 | https://www.scummvm.org/ |
diff --git a/Ports/python3/patches/define-have-sigset-t.patch b/Ports/python3/patches/define-have-sigset-t.patch
index 88f07cb841..5d1cdacf1f 100644
--- a/Ports/python3/patches/define-have-sigset-t.patch
+++ b/Ports/python3/patches/define-have-sigset-t.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Modules/posixmodule.h 2021-02-21 20:22:43.839024851 +0100
-+++ Python-3.9.2/Modules/posixmodule.h 2021-02-21 20:28:35.823057995 +0100
+--- Python-3.9.4/Modules/posixmodule.h 2021-02-21 20:22:43.839024851 +0100
++++ Python-3.9.4/Modules/posixmodule.h 2021-02-21 20:28:35.823057995 +0100
@@ -19,7 +19,8 @@
#endif /* MS_WINDOWS */
diff --git a/Ports/python3/patches/define-py-force-utf8-locale.patch b/Ports/python3/patches/define-py-force-utf8-locale.patch
index ca6f870382..107b68f75f 100644
--- a/Ports/python3/patches/define-py-force-utf8-locale.patch
+++ b/Ports/python3/patches/define-py-force-utf8-locale.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100
-+++ Python-3.9.2/Include/pyport.h 2021-02-21 20:29:32.457743589 +0100
+--- Python-3.9.4/Include/pyport.h 2021-02-21 20:22:43.946024250 +0100
++++ Python-3.9.4/Include/pyport.h 2021-02-21 20:29:32.457743589 +0100
@@ -838,7 +838,7 @@
# error "Py_TRACE_REFS ABI is not compatible with release and debug ABI"
#endif
diff --git a/Ports/python3/patches/disable-setrlimit.patch b/Ports/python3/patches/disable-setrlimit.patch
index c7f0c97d50..c8dbfc02c3 100644
--- a/Ports/python3/patches/disable-setrlimit.patch
+++ b/Ports/python3/patches/disable-setrlimit.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Modules/faulthandler.c 2021-02-21 20:22:43.884024598 +0100
-+++ Python-3.9.2/Modules/faulthandler.c 2021-02-21 20:34:33.279189754 +0100
+--- Python-3.9.4/Modules/faulthandler.c 2021-02-21 20:22:43.884024598 +0100
++++ Python-3.9.4/Modules/faulthandler.c 2021-02-21 20:34:33.279189754 +0100
@@ -993,7 +993,7 @@
SetErrorMode(mode | SEM_NOGPFAULTERRORBOX);
#endif
diff --git a/Ports/python3/patches/fix-autoconf.patch b/Ports/python3/patches/fix-autoconf.patch
index d394e2c7bc..4825112763 100644
--- a/Ports/python3/patches/fix-autoconf.patch
+++ b/Ports/python3/patches/fix-autoconf.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/config.sub 2021-02-21 20:22:43.901024503 +0100
-+++ Python-3.9.2/config.sub 2021-02-21 20:24:35.079400552 +0100
+--- Python-3.9.4/config.sub 2021-02-21 20:22:43.901024503 +0100
++++ Python-3.9.4/config.sub 2021-02-21 20:24:35.079400552 +0100
@@ -1485,6 +1485,8 @@
-oss*)
os=-sysv3
@@ -9,9 +9,9 @@
-svr4*)
os=-sysv4
;;
---- Python-3.9.2/configure.ac 2021-02-21 20:22:43.900024509 +0100
-+++ Python-3.9.2/configure.ac 2021-02-21 20:24:35.084400524 +0100
-@@ -382,6 +382,9 @@
+--- Python-3.9.4/configure.ac 2021-04-06 20:59:45.319060429 +0200
++++ Python-3.9.4/configure.ac 2021-04-06 21:02:33.875267539 +0200
+@@ -389,6 +389,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
@@ -21,7 +21,7 @@
*-*-linux-android*)
ac_sys_system=Linux-android
;;
-@@ -428,6 +431,9 @@
+@@ -435,6 +438,9 @@
AC_SUBST(_PYTHON_HOST_PLATFORM)
if test "$cross_compiling" = yes; then
case "$host" in
@@ -31,8 +31,8 @@
*-*-linux*)
case "$host_cpu" in
arm*)
---- Python-3.9.2/configure 2021-02-21 20:22:43.898024520 +0100
-+++ Python-3.9.2/configure 2021-02-21 20:24:35.096400457 +0100
+--- Python-3.9.4/configure 2021-02-21 20:22:43.898024520 +0100
++++ Python-3.9.4/configure 2021-02-21 20:24:35.096400457 +0100
@@ -3292,6 +3292,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
diff --git a/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch b/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch
index 3074879559..36f6de3de6 100644
--- a/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch
+++ b/Ports/python3/patches/fix-hidden-symbol-referenced-by-dso.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Programs/python.c 2021-02-21 20:22:43.960024172 +0100
-+++ Python-3.9.2/Programs/python.c 2021-02-21 20:35:13.268988119 +0100
+--- Python-3.9.4/Programs/python.c 2021-02-21 20:22:43.960024172 +0100
++++ Python-3.9.4/Programs/python.c 2021-02-21 20:35:13.268988119 +0100
@@ -9,7 +9,7 @@
return Py_Main(argc, argv);
}
@@ -9,8 +9,8 @@
main(int argc, char **argv)
{
return Py_BytesMain(argc, argv);
---- Python-3.9.2/Programs/_testembed.c 2021-02-21 20:22:43.959024178 +0100
-+++ Python-3.9.2/Programs/_testembed.c 2021-02-21 20:35:13.270988109 +0100
+--- Python-3.9.4/Programs/_testembed.c 2021-02-21 20:22:43.959024178 +0100
++++ Python-3.9.4/Programs/_testembed.c 2021-02-21 20:35:13.270988109 +0100
@@ -1711,7 +1711,7 @@
{NULL, NULL}
};
diff --git a/Ports/python3/patches/remove-setlocale-from-preconfig.patch b/Ports/python3/patches/remove-setlocale-from-preconfig.patch
index 431f8c4820..975dabbd6e 100644
--- a/Ports/python3/patches/remove-setlocale-from-preconfig.patch
+++ b/Ports/python3/patches/remove-setlocale-from-preconfig.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Python/preconfig.c 2021-02-21 20:22:44.076023521 +0100
-+++ Python-3.9.2/Python/preconfig.c 2021-02-21 20:36:10.936698893 +0100
+--- Python-3.9.4/Python/preconfig.c 2021-02-21 20:22:44.076023521 +0100
++++ Python-3.9.4/Python/preconfig.c 2021-02-21 20:36:10.936698893 +0100
@@ -790,16 +790,6 @@
preconfig_get_global_vars(config);
diff --git a/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch b/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch
index 9d56519271..e90b1f371c 100644
--- a/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch
+++ b/Ports/python3/patches/tweak-unsupported-printf-format-specifiers.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Python/getversion.c 2021-02-21 20:22:44.092438528 +0100
-+++ Python-3.9.2/Python/getversion.c 2021-02-21 20:36:51.249477963 +0100
+--- Python-3.9.4/Python/getversion.c 2021-02-21 20:22:44.092438528 +0100
++++ Python-3.9.4/Python/getversion.c 2021-02-21 20:36:51.249477963 +0100
@@ -9,7 +9,7 @@
Py_GetVersion(void)
{
@@ -9,8 +9,8 @@
PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
return version;
}
---- Python-3.9.2/Modules/getbuildinfo.c 2021-02-21 20:22:43.945286288 +0100
-+++ Python-3.9.2/Modules/getbuildinfo.c 2021-02-21 20:38:09.187987432 +0100
+--- Python-3.9.4/Modules/getbuildinfo.c 2021-02-21 20:22:43.945286288 +0100
++++ Python-3.9.4/Modules/getbuildinfo.c 2021-02-21 20:38:09.187987432 +0100
@@ -43,7 +43,7 @@
if (!(*gitid))
gitid = "default";
diff --git a/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch b/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch
index e7f60b1a25..e4b12d125f 100644
--- a/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch
+++ b/Ports/python3/patches/use-rtld-lazy-for-dlopenflags.patch
@@ -1,5 +1,5 @@
---- Python-3.9.2/Python/pystate.c 2021-02-21 20:22:44.083023482 +0100
-+++ Python-3.9.2/Python/pystate.c 2021-02-21 20:30:13.907513469 +0100
+--- Python-3.9.4/Python/pystate.c 2021-02-21 20:22:44.083023482 +0100
++++ Python-3.9.4/Python/pystate.c 2021-02-21 20:30:13.907513469 +0100
@@ -223,7 +223,7 @@
interp->eval_frame = _PyEval_EvalFrameDefault;
diff --git a/Ports/python3/version.sh b/Ports/python3/version.sh
index ea91a1348f..5ae23c209a 100644
--- a/Ports/python3/version.sh
+++ b/Ports/python3/version.sh
@@ -1,4 +1,4 @@
-PYTHON_VERSION="3.9.2"
+PYTHON_VERSION="3.9.4"
PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz"
PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_ARCHIVE}"
-PYTHON_ARCHIVE_MD5SUM="f0dc9000312abeb16de4eccce9a870ab"
+PYTHON_ARCHIVE_MD5SUM="2a3dba5fc75b695c45cf1806156e1a97"