diff -r 90f4e2a1b949 -r b63dd3965ecb cpio/cpio.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpio/cpio.patch Tue Aug 28 18:53:10 2012 +0200 @@ -0,0 +1,48 @@ +Index: lib/rtapelib.c +--- lib/rtapelib.c.orig 2009-03-19 12:47:19 +0100 ++++ lib/rtapelib.c 2009-06-20 17:36:22 +0200 +@@ -628,7 +628,7 @@ + { + char command_buffer[COMMAND_BUFFER_SIZE]; + char operand_buffer[UINTMAX_STRSIZE_BOUND]; +- uintmax_t u = offset < 0 ? - (uintmax_t) offset : (uintmax_t) offset; ++ unsigned long u = offset < 0 ? - (unsigned long) offset : (unsigned long) offset; + char *p = operand_buffer + sizeof operand_buffer; + + *--p = 0; +@@ -670,9 +670,9 @@ + { + char command_buffer[COMMAND_BUFFER_SIZE]; + char operand_buffer[UINTMAX_STRSIZE_BOUND]; +- uintmax_t u = (((struct mtop *) argument)->mt_count < 0 +- ? - (uintmax_t) ((struct mtop *) argument)->mt_count +- : (uintmax_t) ((struct mtop *) argument)->mt_count); ++ unsigned long u = (((struct mtop *) argument)->mt_count < 0 ++ ? - (unsigned long) ((struct mtop *) argument)->mt_count ++ : (unsigned long) ((struct mtop *) argument)->mt_count); + char *p = operand_buffer + sizeof operand_buffer; + + *--p = 0; +Index: lib/system.h +--- lib/system.h.orig 2009-06-20 10:29:22 +0200 ++++ lib/system.h 2009-06-20 17:36:22 +0200 +@@ -425,7 +425,7 @@ + + #include + +-#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t) ++#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (unsigned long) + + /* Prototypes for external functions. */ + +Index: src/userspec.c +--- src/userspec.c.orig 2009-02-14 19:15:50 +0100 ++++ src/userspec.c 2009-06-20 17:41:54 +0200 +@@ -20,7 +20,6 @@ + /* Written by David MacKenzie . */ + + #include +-#include + #include + #include + #include