1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

Ports: Remove Python setlocale patch that's no longer needed

Since 4cd45f5, setlocale() always pretends to succeed.
This commit is contained in:
Linus Groh 2021-07-09 20:14:08 +01:00
parent e4124d0218
commit 2c78fa066f
2 changed files with 0 additions and 34 deletions

View file

@ -12,10 +12,6 @@ Enforce UTF-8 as encoding by defining `_Py_FORCE_UTF8_LOCALE`.
As usual, make the `configure` script recognize Serenity. Also set `MACHDEP` (which is used for `sys.platform`) to a version-less `serenityos`, even when not cross-compiling.
## `remove-setlocale-from-preconfig.patch`
Our stub implementation of `setlocale()` always returns `nullptr`, which the interpreter considers critical enough to exit right away.
## `webbrowser.patch`
Register the SerenityOS Browser in the [`webbrowser`](https://docs.python.org/3/library/webbrowser.html) module.