ladybird/Ports/bash/patches/disable-locale.patch
Larkin 18249b5996 Ports: Switch to new ports system (#594)
Much redundancy is removed from package scripts with this system.
It also supports simple dependency management, uninstalling (through
BSD ports style plist files), cleaning up after itself (with clean,
clean_dist, clean_all commands), etc.
2019-09-24 08:56:39 +02:00

19 lines
386 B
Diff

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)