svn path=/nixpkgs/trunk/; revision=6847
This commit is contained in:
Eelco Dolstra 2006-10-25 11:17:30 +00:00
parent 371d2ddbf2
commit 02254ec3d8
2 changed files with 15 additions and 1 deletions

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation {
md5 = "870d76d46dcaba37c13d01dca47d1774";
};
patches = [ ./glibc-pwd.patch ];
patches = [ ./glibc-pwd.patch ./glibc-getcwd-param-MAX.patch ];
inherit kernelHeaders installLocales;

View File

@ -0,0 +1,14 @@
2006-06-18 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
--- glibc-old/sysdeps/unix/sysv/linux/getcwd.c
+++ glibc-new/sysdeps/unix/sysv/linux/getcwd.c
@@ -24,6 +24,7 @@
#include <limits.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/param.h>
#include <sysdep.h>
#include <sys/syscall.h>