2006-10-25 01:05:12 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2004-02-13 15:42:28 +01:00
|
|
|
name = "gnupatch-2.5.4";
|
|
|
|
src = fetchurl {
|
2007-08-27 15:42:00 +02:00
|
|
|
url = mirror://gnu/patch/patch-2.5.4.tar.gz;
|
2004-02-13 15:42:28 +01:00
|
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
|
|
};
|
2006-10-25 01:05:12 +02: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 [];
|
|
|
|
}
|