app-arch/cpio-2.10 requires the following patch: --- src/cpiohdr.h.dist 2009-06-24 15:41:26.983725240 +0100 +++ src/cpiohdr.h 2009-06-24 15:41:59.753567720 +0100 @@ -24,6 +24,8 @@ #ifdef HAVE_ATTRIB_PACKED #define ATTRIB_PACKED __attribute__((packed)) +#else +#define ATTRIB_PACKED #endif #ifdef HAVE_PRAGMA_PACK ... to build successfully on (non-GNU) compilers where HAVE_ATTRIB_PACKED is not defined. Otherwise, the compiler barfs when ATTRIB_PACKED appears. The cpio test-suite passes for the binary built with this change.
patch applied, thanks
This patch is also needed with cpio-2.11 :(
please report it upstream, it seems rather trivial to me, meaning next releases could just compile out of the box for IRIX.