* 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:
@@ -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 {}))
|
||||
|
||||
Reference in New Issue
Block a user