summaryrefslogtreecommitdiff
path: root/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-06-05 03:05:04 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 17:58:36 +0100
commitd426c5a4b2eac839497cc2cbeee4b87a1c9ee422 (patch)
treec3484b5625b583fc7da9cc3a7f53b4dc69186fa5 /Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
parentd69a79b03b8f2853b60773e38553d662a01ac269 (diff)
downloadserenity-d426c5a4b2eac839497cc2cbeee4b87a1c9ee422.zip
Ports: Format patches without numbering, commit hash or version number
Diffstat (limited to 'Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch')
-rw-r--r--Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch b/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
index d7e42d09ea..740ba3a8f9 100644
--- a/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
+++ b/Ports/python3/patches/0001-Enforce-UTF-8-as-the-locale-encoding.patch
@@ -1,7 +1,7 @@
-From be8a31683b1874d62dc514eb214dfa268ed0a4a4 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Linus Groh <mail@linusgroh.de>
Date: Fri, 14 Jan 2022 23:35:20 +0330
-Subject: [PATCH 1/4] Enforce UTF-8 as the locale encoding
+Subject: [PATCH] Enforce UTF-8 as the locale encoding
By defining `_Py_FORCE_UTF8_LOCALE` as some other platforms already do,
we can enforce UTF-8 as the encoding.
@@ -22,6 +22,3 @@ index 6ab0ae4..dffd616 100644
// Use UTF-8 as the locale encoding, ignore the LC_CTYPE locale.
// See _Py_GetLocaleEncoding(), PyUnicode_DecodeLocale()
// and PyUnicode_EncodeLocale().
---
-2.35.1
-