summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-26 07:59:16 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-26 07:59:16 (GMT)
commit1d7b6f65c633865b25c8603975f9aec88e4e1275 (patch)
tree8fdde42c5dd32c747bef37b30d5b98997b9e8e0a
parentbe8a104c3cd65190e32aebcbc8430fb23c42361f (diff)
downloadbuildroot-1d7b6f65c633865b25c8603975f9aec88e4e1275.tar.gz
buildroot-1d7b6f65c633865b25c8603975f9aec88e4e1275.tar.bz2
busybox: add upstream 1.16 fix
Fixes https://bugs.busybox.net/show_bug.cgi?id=1177, available at http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 0000000..b0d73ee
--- /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! */
+