3
0
Fork 0
forked from mirrors/nixpkgs

GNU libc 2.13.

svn path=/nixpkgs/branches/stdenv-updates/; revision=26116
This commit is contained in:
Ludovic Courtès 2011-02-25 15:28:17 +00:00
parent cff72e7a83
commit ce63b61a90
10 changed files with 10 additions and 10 deletions

View file

@ -11,7 +11,7 @@ cross :
let
# For GNU/Hurd, see below.
version = if hurdHeaders != null then "20100512" else "2.12.2";
version = if hurdHeaders != null then "20100512" else "2.13";
needsPortsNative = stdenv.isMips || stdenv.isArm;
needsPortsCross = cross.arch == "mips" || cross.arch == "arm";
@ -20,7 +20,7 @@ let
else needsPortsCross;
srcPorts = fetchurl {
# These should work equally well for 2.12.2
# These should work equally well for 2.13
url = "mirror://gnu/glibc/glibc-ports-2.12.1.tar.bz2";
sha256 = "041ix0nq7nc5r7jf80jsdlw4idah2mjp5nf7khybhc4cs1kc31ir";
};
@ -147,7 +147,7 @@ stdenv.mkDerivation ({
}
else fetchurl {
url = "mirror://gnu/glibc/glibc-${version}.tar.bz2";
sha256 = "05hjz816a2hmzc44gxxi9vrdx6l9f23az794zj45xsxr94yfpy12";
sha256 = "1cnv319ysc8nkwpqw6f6ymb6b8hbl0nyvyx48sddkrj50lmcjwq1";
};
# `fetchurl' is a function and thus should not be passed to the

View file

@ -2970,7 +2970,7 @@ let
glfw = callPackage ../development/libraries/glfw { };
glibc = glibc212;
glibc = glibc213;
glibc25 = callPackage ../development/libraries/glibc-2.5 {
kernelHeaders = linuxHeaders;
@ -2994,15 +2994,15 @@ let
installLocales = getPkgConfig "glibc" "locales" false;
});
glibc212 = (callPackage ../development/libraries/glibc-2.12 {
glibc213 = (callPackage ../development/libraries/glibc-2.13 {
kernelHeaders = linuxHeaders;
installLocales = getPkgConfig "glibc" "locales" false;
machHeaders = null;
hurdHeaders = null;
gccCross = null;
}) // (if crossSystem != null then { hostDrv = glibc212Cross; } else {});
}) // (if crossSystem != null then { hostDrv = glibc213Cross; } else {});
glibc212Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.12)
glibc213Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.13)
(let crossGNU = (crossSystem != null && crossSystem.config == "i586-pc-gnu");
in ({
inherit stdenv fetchurl;
@ -3017,7 +3017,7 @@ let
then { inherit machHeaders hurdHeaders mig fetchgit; }
else { }))));
glibcCross = glibc212Cross;
glibcCross = glibc213Cross;
# We can choose:
libcCrossChooser = name : if (name == "glibc") then glibcCross
@ -3038,9 +3038,9 @@ let
installLocales = getPkgConfig "glibc" "locales" false;
};
glibcLocales = callPackage ../development/libraries/glibc-2.12/locales.nix { };
glibcLocales = callPackage ../development/libraries/glibc-2.13/locales.nix { };
glibcInfo = callPackage ../development/libraries/glibc-2.12/info.nix { };
glibcInfo = callPackage ../development/libraries/glibc-2.13/info.nix { };
glibc_multi =
runCommand "${glibc.name}-multi"