* Fix glibc build on powerpc. See http://sources.redhat.com/bugzilla/show_bug.cgi?id=2929.
svn path=/nixpkgs/trunk/; revision=6847
This commit is contained in:
parent
371d2ddbf2
commit
02254ec3d8
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||
md5 = "870d76d46dcaba37c13d01dca47d1774";
|
||||
};
|
||||
|
||||
patches = [ ./glibc-pwd.patch ];
|
||||
patches = [ ./glibc-pwd.patch ./glibc-getcwd-param-MAX.patch ];
|
||||
|
||||
inherit kernelHeaders installLocales;
|
||||
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue