mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:57:34 +00:00
Ports: Update Python to 3.12.0
Released on 2023-10-02. https://www.python.org/downloads/release/python-3120/ Note that the top-level setup.py script has disappeared completely, hence the two dropped patches. AFAICT this doesn't regress building any of the native modules, presumably because the configure script fully takes care of this now: ``` The necessary bits to build these optional modules were not found: _dbm _gdbm _posixshmem _tkinter nis ossaudiodev To find the necessary bits, look in configure.ac and config.log. Checked 111 modules (31 built-in, 73 shared, 1 n/a on serenityos-x86_64, 0 disabled, 6 missing, 0 failed on import) ```
This commit is contained in:
parent
e7f33cef1e
commit
006bf1905b
9 changed files with 23 additions and 131 deletions
|
@ -1,6 +1,6 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Linus Groh <mail@linusgroh.de>
|
||||
Date: Fri, 14 Jan 2022 23:35:20 +0330
|
||||
Date: Mon, 2 Oct 2023 18:49:19 +0100
|
||||
Subject: [PATCH] Enforce UTF-8 as the locale encoding
|
||||
|
||||
By defining `_Py_FORCE_UTF8_LOCALE` as some other platforms already do,
|
||||
|
@ -10,10 +10,10 @@ we can enforce UTF-8 as the encoding.
|
|||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Include/pyport.h b/Include/pyport.h
|
||||
index 93250f4eb1d7a23ec05a312f97cae4236b64dc7c..33d1ca5f1d21751ca90670eabdc848ad68a12ef1 100644
|
||||
index 35eca7234ca0949fa552e05c60f9e33d8eb36d1d..d8c01355af15dc0abd6fa588e892603d0bf55fd5 100644
|
||||
--- a/Include/pyport.h
|
||||
+++ b/Include/pyport.h
|
||||
@@ -678,7 +678,7 @@ extern char * _getpty(int *, int, mode_t, int);
|
||||
@@ -684,7 +684,7 @@ extern char * _getpty(int *, int, mode_t, int);
|
||||
# error "Py_TRACE_REFS ABI is not compatible with release and debug ABI"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue