Package: cpio Version: 2.11-7 Tags: patch Hi,
I'm currently working on cross-building bits of Debian while bootstrapping the armhf port. cpio fails to cross-build because of an invalid redefinition of stat() during the compile. It's not 100% clear why this only triggers on a cross-build, but this patch makes it work for me. --- cpio/src/filetypes.h~ 2011-05-05 17:37:25.000000000 +0000 +++ cpio/src/filetypes.h 2011-05-20 16:40:09.559486468 +0000 @@ -82,7 +82,9 @@ #define lstat stat #endif -#ifndef __WIN32__ +#ifndef lstat int lstat (); +#endif +#ifndef stat int stat (); #endif Cheers, -- Steve McIntyre steve.mcint...@linaro.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org