aboutsummaryrefslogtreecommitdiffstats
path: root/main/m4/disable-mbrtowc-test.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-09 19:55:16 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-10 03:08:31 +0000
commitc92a7291387abc01e47ee1495558fd2c727a57bd (patch)
treeb8d4ba956cf2177146b62ff0e3572bd5fcd2a8ab /main/m4/disable-mbrtowc-test.patch
parent80b1c4bc0b8a88ad34cc88a972deaad90ae659ce (diff)
downloadaports-c92a7291387abc01e47ee1495558fd2c727a57bd.tar.bz2
aports-c92a7291387abc01e47ee1495558fd2c727a57bd.tar.xz
main/m4: add test suite, fix license, modernise
Diffstat (limited to 'main/m4/disable-mbrtowc-test.patch')
-rw-r--r--main/m4/disable-mbrtowc-test.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/m4/disable-mbrtowc-test.patch b/main/m4/disable-mbrtowc-test.patch
new file mode 100644
index 0000000000..cc2be24786
--- /dev/null
+++ b/main/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