summaryrefslogtreecommitdiffstats
path: root/package/kexec/kexec-0001-largefile.patch
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-02-09 13:47:09 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-09 16:40:38 +0100
commit7974017725452b84cca968645d9a97aeb50a615d (patch)
treeb107854b56b6b6e24d4f706f9056a29ceb8e7b58 /package/kexec/kexec-0001-largefile.patch
parent1ba4e3b2fa7f24b4a6285086cba02a89bc29fb81 (diff)
downloadbuildroot-7974017725452b84cca968645d9a97aeb50a615d.tar.gz
buildroot-7974017725452b84cca968645d9a97aeb50a615d.zip
kexec: rename patch to add sequence number
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/kexec/kexec-0001-largefile.patch')
-rw-r--r--package/kexec/kexec-0001-largefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kexec/kexec-0001-largefile.patch b/package/kexec/kexec-0001-largefile.patch
new file mode 100644
index 0000000000..74dd8e2cdc
--- /dev/null
+++ b/package/kexec/kexec-0001-largefile.patch
@@ -0,0 +1,22 @@
+[PATCH] vmcore-dmesg: don't enforce largefile handling
+
+Breaks build on !largefile toolchains.
+
+Instead simply use whatever mode is selected by toolchain / CFLAGS.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ vmcore-dmesg/vmcore-dmesg.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+Index: kexec-tools-2.0.3/vmcore-dmesg/vmcore-dmesg.c
+===================================================================
+--- kexec-tools-2.0.3.orig/vmcore-dmesg/vmcore-dmesg.c
++++ kexec-tools-2.0.3/vmcore-dmesg/vmcore-dmesg.c
+@@ -1,6 +1,4 @@
+ #define _XOPEN_SOURCE 600
+-#define _LARGEFILE_SOURCE 1
+-#define _FILE_OFFSET_BITS 64
+ #include <endian.h>
+ #include <byteswap.h>
+ #include <stdio.h>
OpenPOWER on IntegriCloud