Author: simons
Date: Tue Jan  4 13:11:57 2011
New Revision: 25382
URL: https://svn.nixos.org/websvn/nix/?rev=25382&sc=1

Log:
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.

Modified:
   nixpkgs/trunk/pkgs/development/libraries/glibc-2.5/builder.sh

Modified: nixpkgs/trunk/pkgs/development/libraries/glibc-2.5/builder.sh
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/glibc-2.5/builder.sh       Tue Jan 
 4 13:06:21 2011        (r25381)
+++ nixpkgs/trunk/pkgs/development/libraries/glibc-2.5/builder.sh       Tue Jan 
 4 13:11:57 2011        (r25382)
@@ -19,6 +19,9 @@
             --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
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to