From ff1b72c95c1c58f1051269e7e66e36c06bdea481 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Fri, 22 Oct 2021 21:13:30 +0200 Subject: 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. --- Ports/bash/patches/disable-locale.patch | 35 --------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 Ports/bash/patches/disable-locale.patch (limited to 'Ports/bash') 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) -- cgit v1.2.3