From ca6f66d311d4ba79213aa03732e220c760b19a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Fri, 2 Nov 2012 08:34:04 +0100 Subject: [PATCH] temporary hack to make coreutils build --- coreutils-6.10-configuration.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/coreutils-6.10-configuration.patch b/coreutils-6.10-configuration.patch index 0fa0c2a..4c54189 100644 --- a/coreutils-6.10-configuration.patch +++ b/coreutils-6.10-configuration.patch @@ -136,3 +136,17 @@ diff -urNp coreutils-8.13-orig/tests/touch/no-dereference.sh coreutils-8.13/test # Changing time of dangling symlink is okay. # Skip the test if this fails, but the error text corresponds to +diff -urNp coreutils-8.20-orig/lib/fcntl.in.h coreutils-8.20/lib/fcntl.in.h +--- coreutils-8.20-orig/lib/fcntl.in.h ++++ coreutils-8.20/lib/fcntl.in.h +@@ -71,6 +71,10 @@ + # define O_SYNC 0 + #endif + ++#ifndef __O_SYNC ++# define __O_SYNC 04000000 ++#endif ++ + #ifndef O_TTY_INIT + # define O_TTY_INIT 0 + #endif