summaryrefslogtreecommitdiff
path: root/Ports/bash/patches/disable-locale.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/bash/patches/disable-locale.patch')
-rw-r--r--Ports/bash/patches/disable-locale.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ports/bash/patches/disable-locale.patch b/Ports/bash/patches/disable-locale.patch
new file mode 100644
index 0000000000..c231fc5936
--- /dev/null
+++ b/Ports/bash/patches/disable-locale.patch
@@ -0,0 +1,18 @@
+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
+@@ -76,6 +76,7 @@
+ void
+ set_default_locale ()
+ {
++ return;
+ #if defined (HAVE_SETLOCALE)
+ default_locale = setlocale (LC_ALL, "");
+ if (default_locale)
+@@ -95,6 +96,7 @@
+ void
+ set_default_locale_vars ()
+ {
++ return;
+ char *val;
+
+#if defined (HAVE_SETLOCALE)