summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.16.0-fsync.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-02-26 10:31:41 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-26 10:31:41 +0100
commit51a5b44461f5a8076fc78c2a49d2e98320e4d047 (patch)
treee4fdb434e79a2d45cd3ca33c0969d13aba2b383a /package/busybox/busybox-1.16.0-fsync.patch
parent0f40a46a54a3620c88fbd52e38a0f29c6aedb9a0 (diff)
parent1d7b6f65c633865b25c8603975f9aec88e4e1275 (diff)
Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/busybox/busybox-1.16.0-fsync.patch')
-rw-r--r--package/busybox/busybox-1.16.0-fsync.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-fsync.patch b/package/busybox/busybox-1.16.0-fsync.patch
new file mode 100644
index 000000000..b0d73ee6e
--- /dev/null
+++ b/package/busybox/busybox-1.16.0-fsync.patch
@@ -0,0 +1,13 @@
+diff -urpN busybox-1.16.0/coreutils/fsync.c busybox-1.16.0-fsync/coreutils/fsync.c
+--- busybox-1.16.0/coreutils/fsync.c 2010-01-25 01:59:38.000000000 +0100
++++ busybox-1.16.0-fsync/coreutils/fsync.c 2010-02-26 08:24:59.000000000 +0100
+@@ -7,6 +7,9 @@
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ */
+ #include "libbb.h"
++#ifndef O_NOATIME
++# define O_NOATIME 0
++#endif
+
+ /* This is a NOFORK applet. Be very careful! */
+