From b172f5b0c1076afe899c5d7f22cff77fa4fb122b Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Nov 02 2012 11:35:58 +0000 Subject: I forgot to attach the patch, not it should be OK --- diff --git a/cpio-2.11-temporary-allow-build.patch b/cpio-2.11-temporary-allow-build.patch new file mode 100644 index 0000000..45918db --- /dev/null +++ b/cpio-2.11-temporary-allow-build.patch @@ -0,0 +1,15 @@ +diff --git a/gnu/fcntl.in.h b/gnu/fcntl.in.h +index 95298de..a9a8ddd 100644 +--- a/gnu/fcntl.in.h ++++ b/gnu/fcntl.in.h +@@ -216,6 +216,10 @@ _GL_WARN_ON_USE (openat, "openat is not portable - " + # define O_SYNC 0 + #endif + ++#ifndef __O_SYNC ++# define __O_SYNC 04000000 ++#endif ++ + #ifndef O_TTY_INIT + # define O_TTY_INIT 0 + #endif