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

Ports: Update bash to 5.1.8

Also switches to using a sha256 signature check.
This commit is contained in:
Luke 2021-07-29 18:14:59 +01:00 committed by Linus Groh
parent e3b588a43d
commit 999448066f
9 changed files with 58 additions and 60 deletions

View file

@ -1,18 +1,35 @@
diff -Nru pristine/bash-5.0/locale.c bash-5.0/locale.c
+++ bash-5.0/locale.c 2019-05-21 02:18:05.843104487 +0200
--- 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;
+ return;
#if defined (HAVE_SETLOCALE)
default_locale = setlocale (LC_ALL, "");
if (default_locale)
@@ -95,6 +96,7 @@
@@ -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;
+ return;
char *val;
#if defined (HAVE_SETLOCALE)
#if defined (HAVE_SETLOCALE)