1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

Ports: Update Python to 3.10.1 :^)

This was released a couple of days ago, on 2021-12-06 and contains
various changes that we previously needed custom patches for, so we are
now able to remove those and compile more unchanged upstream sources.
Thanks to Rodrigo for making that effort! :^)
This commit is contained in:
Linus Groh 2021-12-11 17:43:42 +00:00
parent 1e95e7716b
commit 6d9a1d3c93
10 changed files with 28 additions and 135 deletions

View file

@ -1,16 +1,17 @@
--- Python-3.10.0/config.sub 2021-08-03 19:03:07.361000000 +0100
+++ Python-3.10.0/config.sub 2021-08-03 19:04:06.425786525 +0100
@@ -1485,6 +1485,8 @@
-oss*)
os=-sysv3
--- Python-3.10.1/config.sub 2021-12-06 18:23:39.000000000 +0000
+++ Python-3.10.1/config.sub 2021-12-11 17:17:07.076780435 +0000
@@ -1474,6 +1474,9 @@
oss*)
os=sysv3
;;
+ -serenity*)
+ serenity*)
+ os=serenity
+ ;;
-svr4*)
os=-sysv4
svr4*)
os=sysv4
;;
--- Python-3.10.0/configure.ac 2021-08-03 19:04:59.784000000 +0100
+++ Python-3.10.0/configure.ac 2021-08-03 19:08:42.069896469 +0100
--- Python-3.10.1/configure.ac 2021-12-06 18:23:39.000000000 +0000
+++ Python-3.10.1/configure.ac 2021-12-11 17:23:18.363664786 +0000
@@ -391,6 +391,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
@ -39,7 +40,7 @@
*-*-linux*)
case "$host_cpu" in
arm*)
@@ -2757,7 +2764,7 @@
@@ -2802,7 +2809,7 @@
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
@ -48,9 +49,9 @@
# -u libsys_s pulls in all symbols in libsys
Darwin/*)
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
--- Python-3.10.0/configure 2021-09-07 15:18:28.000000000 +0200
+++ Python-3.10.0/configure 2021-09-18 17:01:57.104963183 +0200
@@ -3325,6 +3325,9 @@
--- Python-3.10.1/configure 2021-12-06 18:23:39.000000000 +0000
+++ Python-3.10.1/configure 2021-12-11 17:25:05.866475699 +0000
@@ -3335,6 +3335,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
@ -60,7 +61,7 @@
*-*-linux-android*)
ac_sys_system=Linux-android
;;
@@ -3363,6 +3366,7 @@
@@ -3373,6 +3376,7 @@
linux*) MACHDEP="linux";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
@ -68,7 +69,7 @@
'') MACHDEP="unknown";;
esac
fi
@@ -3372,6 +3376,9 @@
@@ -3382,6 +3386,9 @@
if test "$cross_compiling" = yes; then
case "$host" in
@ -78,7 +79,7 @@
*-*-linux*)
case "$host_cpu" in
arm*)
@@ -9768,7 +9775,7 @@
@@ -9875,7 +9882,7 @@
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;