summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch')
-rw-r--r--sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch b/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch
new file mode 100644
index 00000000000..bb887c4b230
--- /dev/null
+++ b/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch
@@ -0,0 +1,11 @@
+--- tests/test-readlink.h
++++ tests/test-readlink.h
+@@ -38,7 +38,7 @@
+ ASSERT (errno == ENOENT);
+ errno = 0;
+ ASSERT (func ("", buf, sizeof buf) == -1);
+- ASSERT (errno == ENOENT);
++ ASSERT (errno == ENOENT || errno == EINVAL);
+ errno = 0;
+ ASSERT (func (".", buf, sizeof buf) == -1);
+ ASSERT (errno == EINVAL);