mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:32:44 +00:00 
			
		
		
		
	Ports: Update Python to 3.9.5
Released on 2021-05-03. https://www.python.org/downloads/release/python-395/
This commit is contained in:
		
							parent
							
								
									6024617df3
								
							
						
					
					
						commit
						e76342e242
					
				
					 8 changed files with 29 additions and 33 deletions
				
			
		|  | @ -95,7 +95,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.4                    | https://www.python.org/                                                        | | ||||
| | [`python3`](python3/)                  | Python                                                     | 3.9.5                    | https://www.python.org/                                                        | | ||||
| | [`quake`](quake/)                      | Quake                                                      | 0.65                     | https://github.com/SerenityOS/SerenityQuake                                    | | ||||
| | [`quake2`](quake2/)                    | QuakeII                                                    | 0.1                      | https://github.com/SerenityOS/SerenityQuakeII                                  | | ||||
| | [`readline`](readline/)                | GNU Readline Library                                       | 8.1                      | https://tiswww.case.edu/php/chet/readline/rltop.html                           | | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/Modules/posixmodule.h	2021-02-21 20:22:43.839024851 +0100
 | ||||
| +++ Python-3.9.5/Modules/posixmodule.h	2021-02-21 20:28:35.823057995 +0100
 | ||||
| @@ -19,7 +19,8 @@
 | ||||
|  #endif /* MS_WINDOWS */ | ||||
|   | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/Include/pyport.h	2021-02-21 20:22:43.946024250 +0100
 | ||||
| +++ Python-3.9.5/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 | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/Modules/faulthandler.c	2021-02-21 20:22:43.884024598 +0100
 | ||||
| +++ Python-3.9.5/Modules/faulthandler.c	2021-02-21 20:34:33.279189754 +0100
 | ||||
| @@ -993,7 +993,7 @@
 | ||||
|      SetErrorMode(mode | SEM_NOGPFAULTERRORBOX); | ||||
|  #endif | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/config.sub	2021-02-21 20:22:43.901024503 +0100
 | ||||
| +++ Python-3.9.5/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.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 @@
 | ||||
| --- Python-3.9.5/configure.ac	2021-05-03 15:54:42.000000000 +0100
 | ||||
| +++ Python-3.9.5/configure.ac	2021-05-06 12:46:42.579733794 +0100
 | ||||
| @@ -391,6 +391,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 | ||||
|  		;; | ||||
| @@ -435,6 +438,9 @@
 | ||||
| @@ -437,6 +440,9 @@
 | ||||
|  AC_SUBST(_PYTHON_HOST_PLATFORM) | ||||
|  if test "$cross_compiling" = yes; then | ||||
|  	case "$host" in | ||||
|  | @ -31,9 +31,9 @@ | |||
|  	*-*-linux*) | ||||
|  		case "$host_cpu" in | ||||
|  		arm*) | ||||
| --- 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 @@
 | ||||
| --- Python-3.9.5/configure	2021-05-03 15:54:42.000000000 +0100
 | ||||
| +++ Python-3.9.5/configure	2021-05-06 12:48:56.875043814 +0100
 | ||||
| @@ -3295,6 +3295,9 @@
 | ||||
|         # a lot of different things including 'define_xopen_source' | ||||
|         # in the case statement below. | ||||
|  	case "$host" in | ||||
|  | @ -43,7 +43,7 @@ | |||
|  	*-*-linux-android*) | ||||
|  		ac_sys_system=Linux-android | ||||
|  		;; | ||||
| @@ -3339,6 +3342,9 @@
 | ||||
| @@ -3342,6 +3345,9 @@
 | ||||
| 
 | ||||
|  if test "$cross_compiling" = yes; then | ||||
|  	case "$host" in | ||||
|  | @ -53,10 +53,7 @@ | |||
|  	*-*-linux*) | ||||
|  		case "$host_cpu" in | ||||
|  		arm*) | ||||
| diff -Naur Python-3.9.4/configure Python-3.9.4.serenity/configure
 | ||||
| --- Python-3.9.4/configure	2021-04-24 14:50:59.083484421 +0200
 | ||||
| +++ Python-3.9.4.serenity/configure	2021-04-24 15:50:26.821359967 +0200
 | ||||
| @@ -9647,6 +9647,7 @@
 | ||||
| @@ -9646,6 +9652,7 @@
 | ||||
|  #	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";; | ||||
|  	Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";; | ||||
|  	Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";; | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/Python/preconfig.c	2021-02-21 20:22:44.076023521 +0100
 | ||||
| +++ Python-3.9.5/Python/preconfig.c	2021-02-21 20:36:10.936698893 +0100
 | ||||
| @@ -790,16 +790,6 @@
 | ||||
|   | ||||
|      preconfig_get_global_vars(config); | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| --- 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
 | ||||
| --- Python-3.9.5/Python/getversion.c	2021-02-21 20:22:44.092438528 +0100
 | ||||
| +++ Python-3.9.5/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.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
 | ||||
| --- Python-3.9.5/Modules/getbuildinfo.c	2021-02-21 20:22:43.945286288 +0100
 | ||||
| +++ Python-3.9.5/Modules/getbuildinfo.c	2021-02-21 20:38:09.187987432 +0100
 | ||||
| @@ -43,7 +43,7 @@
 | ||||
|      if (!(*gitid)) | ||||
|          gitid = "default"; | ||||
|  | @ -20,9 +20,8 @@ | |||
|                    DATE, TIME); | ||||
|      return buildinfo; | ||||
|  } | ||||
| diff -Naur Python-3.9.4/Python/dynload_shlib.c Python-3.9.4.serenity/Python/dynload_shlib.c
 | ||||
| --- Python-3.9.4/Python/dynload_shlib.c	2021-04-04 14:56:53.000000000 +0200
 | ||||
| +++ Python-3.9.4.serenity/Python/dynload_shlib.c	2021-04-24 15:57:27.419824682 +0200
 | ||||
| --- Python-3.9.5/Python/dynload_shlib.c	2021-04-04 14:56:53.000000000 +0200
 | ||||
| +++ Python-3.9.5/Python/dynload_shlib.c	2021-04-24 15:57:27.419824682 +0200
 | ||||
| @@ -69,12 +69,12 @@
 | ||||
|   | ||||
|      if (strchr(pathname, '/') == NULL) { | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| PYTHON_VERSION="3.9.4" | ||||
| PYTHON_VERSION="3.9.5" | ||||
| PYTHON_ARCHIVE="Python-${PYTHON_VERSION}.tar.xz" | ||||
| PYTHON_ARCHIVE_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_ARCHIVE}" | ||||
| PYTHON_ARCHIVE_MD5SUM="2a3dba5fc75b695c45cf1806156e1a97" | ||||
| PYTHON_ARCHIVE_MD5SUM="71f7ada6bec9cdbf4538adc326120cfd" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh