mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Patching the latest gnum4 so it builds with glibc 2.12.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=23306
This commit is contained in:
parent
221317ae7b
commit
ff0b54e26e
@ -10,6 +10,9 @@ stdenv.mkDerivation {
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
# Upstream is aware of it; it may be in the next release.
|
||||
patches = [ ./s_isdir.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/m4/;
|
||||
description = "GNU M4, a macro processor";
|
||||
|
14
pkgs/development/tools/misc/gnum4/s_isdir.patch
Normal file
14
pkgs/development/tools/misc/gnum4/s_isdir.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user