summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/m4-s_isdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/m4-s_isdir.patch')
-rw-r--r--gnu/packages/patches/m4-s_isdir.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/m4-s_isdir.patch b/gnu/packages/patches/m4-s_isdir.patch
new file mode 100644
index 0000000000..a009a4ba44
--- /dev/null
+++ b/gnu/packages/patches/m4-s_isdir.patch
@@ -0,0 +1,14 @@
+Fails to build with glibc 2.12.1 without this patch.
+
+http://lists.gnu.org/archive/html/bug-m4/2010-05/msg00002.html
+
+--- a/src/path.c
++++ b/src/path.c
+@@ -22,6 +22,7 @@
+ /* Handling of path search of included files via the builtins "include"
+ and "sinclude". */
+
+ #include "m4.h"
++#include "sys/stat.h"
+
+ struct includes