···10101111 doCheck = !stdenv.isDarwin;
12121313+ # Upstream is aware of it; it may be in the next release.
1414+ patches = [ ./s_isdir.patch ];
1515+1316 meta = {
1417 homepage = http://www.gnu.org/software/m4/;
1518 description = "GNU M4, a macro processor";
+14
pkgs/development/tools/misc/gnum4/s_isdir.patch
···11+Fails to build with glibc 2.12.1 without this patch.
22+33+http://lists.gnu.org/archive/html/bug-m4/2010-05/msg00002.html
44+55+--- a/src/path.c
66++++ b/src/path.c
77+@@ -22,6 +22,7 @@
88+ /* Handling of path search of included files via the builtins "include"
99+ and "sinclude". */
1010+1111+ #include "m4.h"
1212++#include "sys/stat.h"
1313+1414+ struct includes