mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
Ports: Format patches without numbering, commit hash or version number
This commit is contained in:
parent
d69a79b03b
commit
d426c5a4b2
371 changed files with 806 additions and 1884 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 6b7f5908f2d9ca0c3b19fe377feae8f8529e8f4e 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:57 +0330
|
||||
Subject: [PATCH 2/4] Tweak configure and configure.ac
|
||||
Subject: [PATCH] Tweak configure and configure.ac
|
||||
|
||||
As usual, make the `configure` script recognize Serenity. Also set
|
||||
`MACHDEP` (which is used for `sys.platform`) to a version-less
|
||||
|
@ -12,7 +12,7 @@ As usual, make the `configure` script recognize Serenity. Also set
|
|||
2 files changed, 16 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 0cc86f9..45a4ad6 100755
|
||||
index 19f1bd5..340e76e 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3335,6 +3335,9 @@ then
|
||||
|
@ -53,7 +53,7 @@ index 0cc86f9..45a4ad6 100755
|
|||
Darwin/*)
|
||||
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 547255f..b352890 100644
|
||||
index 763fc69..8d4c0af 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -391,6 +391,9 @@ then
|
||||
|
@ -93,6 +93,3 @@ index 547255f..b352890 100644
|
|||
# -u libsys_s pulls in all symbols in libsys
|
||||
Darwin/*)
|
||||
LINKFORSHARED="$extra_undefs -framework CoreFoundation"
|
||||
--
|
||||
2.35.1
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 1805e2be29193655e29355ba9d93b78a654dcaa2 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:36:28 +0330
|
||||
Subject: [PATCH 3/4] Include `sys/uio.h` in `socketmodule.c`
|
||||
Subject: [PATCH] Include `sys/uio.h` in `socketmodule.c`
|
||||
|
||||
This is to ensure that `struct iovec` is defined, which is required by
|
||||
the `socket` module.
|
||||
|
@ -22,6 +22,3 @@ index ab8618b..0109d97 100644
|
|||
# include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
--
|
||||
2.35.1
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 1a5f8c57c86964bff49c0d0f61acb18b9223e7d7 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:36:52 +0330
|
||||
Subject: [PATCH 4/4] Tweak `setup.py`
|
||||
Subject: [PATCH] Tweak `setup.py`
|
||||
|
||||
Make some tweaks to Python's `setup.py`:
|
||||
|
||||
|
@ -45,6 +45,3 @@ index e74a275..acd7b05 100644
|
|||
panel_library = 'panel'
|
||||
if curses_library == 'ncursesw':
|
||||
curses_defines.append(('HAVE_NCURSESW', '1'))
|
||||
--
|
||||
2.35.1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue