···1011 doCheck = !stdenv.isDarwin;
1200013 meta = {
14 homepage = http://www.gnu.org/software/m4/;
15 description = "GNU M4, a macro processor";
···1011 doCheck = !stdenv.isDarwin;
1213+ # Upstream is aware of it; it may be in the next release.
14+ patches = [ ./s_isdir.patch ];
15+16 meta = {
17 homepage = http://www.gnu.org/software/m4/;
18 description = "GNU M4, a macro processor";
+14
pkgs/development/tools/misc/gnum4/s_isdir.patch
···00000000000000
···1+Fails to build with glibc 2.12.1 without this patch.
2+3+http://lists.gnu.org/archive/html/bug-m4/2010-05/msg00002.html
4+5+--- a/src/path.c
6++++ b/src/path.c
7+@@ -22,6 +22,7 @@
8+ /* Handling of path search of included files via the builtins "include"
9+ and "sinclude". */
10+11+ #include "m4.h"
12++#include "sys/stat.h"
13+14+ struct includes