From 1805fc5229cb403c1d9500d7e7c2f5b8bf23e8f2 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 4 Jan 2011 13:11:57 +0000 Subject: [PATCH] pkgs/development/libraries/glibc-2.5: patch the 'configure' script to support ld 2.21 or later This patch fixes a flawed shell expression that attempts (but fails) to ensure that GNU ld version 2.13 or later is available. svn path=/nixpkgs/trunk/; revision=25382 --- pkgs/development/libraries/glibc-2.5/builder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/glibc-2.5/builder.sh b/pkgs/development/libraries/glibc-2.5/builder.sh index 4cd0132e370..bc80af83b92 100644 --- a/pkgs/development/libraries/glibc-2.5/builder.sh +++ b/pkgs/development/libraries/glibc-2.5/builder.sh @@ -19,6 +19,9 @@ preConfigure() { --replace "@PWD@" "pwd" done + # Fix shell code that tries to determine whether GNU ld is recent enough. + substituteInPlace configure --replace '2.1[3-9]*)' '2.1[3-9]*|2.[2-9][0-9]*)' + mkdir ../build cd ../build