* Dietlibc 0.31
svn path=/nixpkgs/branches/stdenv-updates/; revision=9770
This commit is contained in:
parent
f7070ce809
commit
10d9d4b456
|
@ -3,10 +3,10 @@
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "dietlibc-0.30";
|
name = "dietlibc-0.31";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://kernel/linux/libs/dietlibc/dietlibc-0.30.tar.bz2;
|
url = mirror://kernel/linux/libs/dietlibc/dietlibc-0.31.tar.bz2;
|
||||||
md5 = "2465d652fff6f1fad3da3b98e60e83c9";
|
sha256 = "1kanrwjcmqs28z8arj9py9mbgjx5rgvi7il484pgaizpcxm3sqcr";
|
||||||
};
|
};
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
|
@ -24,14 +24,16 @@ stdenv.mkDerivation {
|
||||||
# Remove them.
|
# Remove them.
|
||||||
./no-wchar.patch
|
./no-wchar.patch
|
||||||
|
|
||||||
# Fix to get DNS resolution to work on 64-bit platforms. Taken
|
|
||||||
# from 0.31 CVS.
|
|
||||||
./dns64.patch
|
|
||||||
|
|
||||||
# Get lseek64 working on x86_64. From
|
# Get lseek64 working on x86_64. From
|
||||||
# http://svn.annvix.org/cgi-bin/viewvc.cgi/packages/releases/2.0-CURRENT/dietlibc/SOURCES
|
# http://svn.annvix.org/cgi-bin/viewvc.cgi/packages/releases/2.0-CURRENT/dietlibc/SOURCES
|
||||||
./x86_64-lseek64.patch
|
./x86_64-lseek64.patch
|
||||||
#./x86_64-stat64.patch
|
#./x86_64-stat64.patch
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.fefe.de/dietlibc/;
|
||||||
|
description = "A small implementation of the C library";
|
||||||
|
license = "GPL";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2827,7 +2827,7 @@ rec {
|
||||||
dietlibc = import ../os-specific/linux/dietlibc {
|
dietlibc = import ../os-specific/linux/dietlibc {
|
||||||
inherit fetchurl glibc;
|
inherit fetchurl glibc;
|
||||||
# Dietlibc 0.30 doesn't compile on PPC with GCC 4.1, bus GCC 3.4 works.
|
# Dietlibc 0.30 doesn't compile on PPC with GCC 4.1, bus GCC 3.4 works.
|
||||||
stdenv = if stdenv.system == "powerpc-linux" then overrideGCC stdenv gcc34 else stdenv;
|
stdenv = if stdenv.system == "powerpc-linux" then overrideGCC stdenv gcc34 else stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
e2fsprogs = import ../os-specific/linux/e2fsprogs {
|
e2fsprogs = import ../os-specific/linux/e2fsprogs {
|
||||||
|
|
Loading…
Reference in New Issue