Patching libmad for mips (Ben Nanonote)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23312
This commit is contained in:
@@ -8,11 +8,13 @@ stdenv.mkDerivation {
|
||||
sha256 = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690";
|
||||
};
|
||||
|
||||
patches = [ ./pkgconfig.patch ];
|
||||
patches = [ ./001-mips_removal_h_constraint.patch ./pkgconfig.patch ];
|
||||
|
||||
buildNativeInputs = [ autoconf ];
|
||||
|
||||
# The -fforce-mem flag has been removed in GCC 4.3.
|
||||
preConfigure = ''
|
||||
${autoconf}/bin/autoconf
|
||||
autoconf
|
||||
substituteInPlace configure --replace "-fforce-mem" ""
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user