summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-05-05 17:23:49 +0800
committerRosen Penev <rosenp@gmail.com>2023-05-24 06:04:33 +0300
commit2445fe9fb25e6d9eed28aa9ad237bd250d1600d1 (patch)
tree865067afa21c133808951293968d38e43cbb57c2 /lang/python/python3/patches/004-do-not-write-bytes-codes.patch
parent02eb5c100c8462823ea19df6af637be97570ccdb (diff)
python3: Update to 3.11.3, refresh/redo patches
* Removed patches: * 001-enable-zlib.patch: zlib module should be enabled automatically * 007-distutils-do-not-adjust-path.patch: Not necessary since we process shebang lines for all scripts (in python3-package.mk) * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch: Already merged * Move configure vars from config.site back into Makefile Centralizing all build information into one file makes it easier to maintain * No longer set ac_cv_header_uuid_h=yes as configure should detect libuuid * Order configure args by enable-/disable-/with-/without-, then alphabetically * Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the OpenSSL API tests with LibreSSL * Use the default Host/Compile recipe instead of picking out specific targets to make Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/004-do-not-write-bytes-codes.patch')
-rw-r--r--lang/python/python3/patches/004-do-not-write-bytes-codes.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
index 40b4e5b0c..6f01f9d8e 100644
--- a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
+++ b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch
@@ -1,6 +1,6 @@
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
-@@ -163,7 +163,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
+@@ -198,7 +198,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */
int Py_FrozenFlag = 0; /* Needed by getpath.c */
int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */