linux-headers-2.6.28: Verbosely apply the patch against `unifdef.c'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=18692
This commit is contained in:
Ludovic Courtès 2009-11-29 14:59:41 +00:00
parent 641101c7fd
commit 83f8715475

View File

@ -29,11 +29,11 @@ stdenv.mkDerivation {
extraIncludeDirs = extraIncludeDirs =
if cross != null then if cross != null then
(if cross.arch == "powerpc" then ["ppc"] else []) (if cross.arch == "powerpc" then ["ppc"] else [])
else if stdenv.system == "powerpc-linux" then ["ppc"] else []; else if stdenv.system == "powerpc-linux" then ["ppc"] else [];
patchPhase = '' patchPhase = ''
patch -p1 "${./unifdef-getline.patch}" patch --verbose -p1 "${./unifdef-getline.patch}"
sed -i '/scsi/d' include/Kbuild sed -i '/scsi/d' include/Kbuild
''; '';