2006-10-25 00:05:12 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2004-02-13 14:42:28 +00:00
|
|
|
name = "gnupatch-2.5.4";
|
|
|
|
src = fetchurl {
|
2007-08-27 14:42:00 +01:00
|
|
|
url = mirror://gnu/patch/patch-2.5.4.tar.gz;
|
2004-02-13 14:42:28 +00:00
|
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
|
|
};
|
2006-10-25 00:05:12 +01:00
|
|
|
|
|
|
|
# Hack around ancient configure script: doesn't build on many newer
|
|
|
|
# platforms unless a platform is specified.
|
|
|
|
configureFlags = "dummy";
|
|
|
|
|
|
|
|
patches = if stdenv.isDarwin then [./setmode.patch] else [];
|
|
|
|
}
|