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

Ports: Remove some config.sub patches and download a fresh one if needed

All of these patches did the same thing, which is already in upstream
config.sub.
With this change, we need only add `use_fresh_config_sub=true` to
the package.sh file.
Note that this is not done automatically in case the port has a modified
config.sub file.
This commit is contained in:
Ali Mohammad Pur 2022-01-08 17:02:29 +03:30 committed by Ali Mohammad Pur
parent 87630c5fd5
commit cdd6d68b2a
135 changed files with 128 additions and 816 deletions

View file

@ -6,6 +6,7 @@ port=python3
version="${PYTHON_VERSION}"
workdir="Python-${version}"
useconfigure="true"
use_fresh_config_sub=true
files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM}
https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0"
auth_type="sha256"

View file

@ -1,15 +1,3 @@
--- 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*)
+ os=serenity
+ ;;
svr4*)
os=sysv4
;;
--- 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 @@