summaryrefslogtreecommitdiff
path: root/system/m4/disable-mbrtowc-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/m4/disable-mbrtowc-test.patch')
-rw-r--r--system/m4/disable-mbrtowc-test.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/m4/disable-mbrtowc-test.patch b/system/m4/disable-mbrtowc-test.patch
new file mode 100644
index 000000000..cc2be2478
--- /dev/null
+++ b/system/m4/disable-mbrtowc-test.patch
@@ -0,0 +1,10 @@
+--- m4-1.4.18/tests/test-mbrtowc5.sh.old 2016-12-31 13:54:43.000000000 +0000
++++ m4-1.4.18/tests/test-mbrtowc5.sh 2017-07-30 17:29:50.879924130 +0000
+@@ -1,6 +1,2 @@
+ #!/bin/sh
+-# Test whether the POSIX locale has encoding errors.
+-LC_ALL=C \
+-./test-mbrtowc${EXEEXT} 5 || exit
+-LC_ALL=POSIX \
+-./test-mbrtowc${EXEEXT} 5
++exit 77