Patching the latest gnum4 so it builds with glibc 2.12.1


svn path=/nixpkgs/branches/stdenv-updates/; revision=23306

+17
+3
pkgs/development/tools/misc/gnum4/default.nix
··· 10 10 11 11 doCheck = !stdenv.isDarwin; 12 12 13 + # Upstream is aware of it; it may be in the next release. 14 + patches = [ ./s_isdir.patch ]; 15 + 13 16 meta = { 14 17 homepage = http://www.gnu.org/software/m4/; 15 18 description = "GNU M4, a macro processor";
+14
pkgs/development/tools/misc/gnum4/s_isdir.patch
··· 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