diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-10-22 21:13:30 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-10-23 23:31:43 -0700 |
commit | ff1b72c95c1c58f1051269e7e66e36c06bdea481 (patch) | |
tree | 15c75df7dc6f2f7a25ca2c5a72689c56ca1f267a | |
parent | b3ac24a9393497ea2f50ca8b96c2462c1fb45214 (diff) | |
download | serenity-ff1b72c95c1c58f1051269e7e66e36c06bdea481.zip |
Ports: Remove obsolete bash locale patch
Now that we have a semi-decent support for wide characters and a stubbed
out locale API, this hack is not needed anymore.
-rw-r--r-- | Ports/bash/patches/disable-locale.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Ports/bash/patches/disable-locale.patch b/Ports/bash/patches/disable-locale.patch deleted file mode 100644 index eeeaefa67c..0000000000 --- a/Ports/bash/patches/disable-locale.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- bash-5.1.8/locale.c 2020-02-24 20:08:43.000000000 +0000 -+++ bash-5.1.8.serenity/locale.c 2021-07-29 15:51:14.523146438 +0100 -@@ -76,6 +76,7 @@ - void - set_default_locale () - { -+ return; - #if defined (HAVE_SETLOCALE) - default_locale = setlocale (LC_ALL, ""); - if (default_locale) -@@ -88,11 +89,11 @@ - - locale_mb_cur_max = MB_CUR_MAX; - locale_utf8locale = locale_isutf8 (default_locale); --#if defined (HANDLE_MULTIBYTE) -- locale_shiftstates = mblen ((char *)NULL, 0); --#else -- local_shiftstates = 0; --#endif -+// #if defined (HANDLE_MULTIBYTE) -+// locale_shiftstates = mblen ((char *)NULL, 0); -+// #else -+// local_shiftstates = 0; -+// #endif - } - - /* Set default values for LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_NUMERIC and -@@ -101,6 +102,7 @@ - void - set_default_locale_vars () - { -+ return; - char *val; - - #if defined (HAVE_SETLOCALE) |