From 9a1e29ecdfcce8735703a2d65d8b87461b7d86f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 21 Aug 2010 21:08:05 +0000 Subject: [PATCH] Patch for glibc 2.12.1 to build with gnumake 3.82 svn path=/nixpkgs/branches/stdenv-updates/; revision=23342 --- pkgs/development/libraries/glibc-2.12/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index afa498ccd2a..af36787139b 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -79,6 +79,12 @@ stdenv.mkDerivation ({ ./nix-locale-archive.patch ]; + # Needed for glibc to build with the gnumake 3.82 + # http://comments.gmane.org/gmane.linux.lfs.support/31227 + postPatch = '' + sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile + ''; + configureFlags = [ "-C" "--enable-add-ons"