diff --git a/pkgs/development/libraries/glibc-2.5/default.nix b/pkgs/development/libraries/glibc-2.5/default.nix index b5ee705afd09..8b8c204a4803 100644 --- a/pkgs/development/libraries/glibc-2.5/default.nix +++ b/pkgs/development/libraries/glibc-2.5/default.nix @@ -12,7 +12,8 @@ stdenv.mkDerivation { md5 = "1fb29764a6a650a4d5b409dda227ac9f"; }; - patches = [ ./glibc-pwd.patch ./glibc-getcwd-param-MAX.patch ./glibc-inline.patch ./x86-fnstsw.patch ./binutils-ld.patch ]; + patches = [ ./glibc-pwd.patch ./glibc-getcwd-param-MAX.patch ./glibc-inline.patch + ./x86-fnstsw.patch ./binutils-ld.patch ./make-3-82-fix.patch ]; inherit kernelHeaders installLocales; diff --git a/pkgs/development/libraries/glibc-2.5/make-3-82-fix.patch b/pkgs/development/libraries/glibc-2.5/make-3-82-fix.patch new file mode 100644 index 000000000000..816e0aa528be --- /dev/null +++ b/pkgs/development/libraries/glibc-2.5/make-3-82-fix.patch @@ -0,0 +1,14 @@ +--- glibc-2.5/manual/Makefile.orig 2011-01-26 17:03:14.000000000 +0100 ++++ glibc-2.5/manual/Makefile 2011-01-26 17:04:30.000000000 +0100 +@@ -232,7 +232,10 @@ + .PHONY: stubs + stubs: $(objpfx)stubs + endif +-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: ++$(objpfx)stubs ../po/manual.pot: ++ $(make-target-directory) ++ touch $@ ++$(objpfx)stamp%: + $(make-target-directory) + touch $@ +