* Don't include <malloc.h>, it doesn't exist on all platforms.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10803
This commit is contained in:
Eelco Dolstra
2008-02-21 14:01:19 +00:00
parent 289a6dd48a
commit c9f2559e30
2 changed files with 15 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
stdenv.mkDerivation ({
name = "replace-2.24";
src = fetchurl {
@@ -16,4 +16,4 @@ stdenv.mkDerivation {
homepage = http://replace.richardlloyd.org.uk/;
description = "A tool to replace verbatim strings";
};
}
} // (if stdenv.system == "i686-darwin" then {patches = [./malloc.patch];} else {}))