Skip to contentSkip to conversation

package/kexec: bump version to 2.0.11

PATCH New Bernd Kuhls 2 participants 4 messages Jan 23, 2016 – Feb 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/kexec: bump version to 2.0.11

---
 package/kexec/kexec.hash | 2 +-
 package/kexec/kexec.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/kexec/kexec.hash +1 -1
index fa2d8be..24a71e7 100644
@@ -1,2 +1,2 @@
 # From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc
-sha256	8ae34a9ceb76350954e1e1e3ca9ab51da15862bd5f2fd14392208e60fb454f71	kexec-tools-2.0.9.tar.xz
+sha256	b1097986ffdb928cf41a94e8a5dfddc981a8fa710cccf13298e7f8dd939a2ee3	kexec-tools-2.0.11.tar.xz
package/kexec/kexec.mk +1 -1
index d158406..d27c514 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-KEXEC_VERSION = 2.0.9
+KEXEC_VERSION = 2.0.11
 KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
 KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
 KEXEC_LICENSE = GPLv2
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 2/2 package/kexec: Fix musl build

Fixes
http://autobuild.buildroot.net/results/c19/c19a016b7fd50b8cef110e70e6f3af7cd0369368/

---
 .../0001-vmcore-dmesg-Define-_GNU_SOURCE.patch     | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 package/kexec/0001-vmcore-dmesg-Define-_GNU_SOURCE.patch
package/kexec/0001-vmcore-dmesg-Define-_GNU_SOURCE.patch new file +38 -0
new file mode 100644
index 0000000..adaac2f
@@ -0,0 +1,38 @@
+Fix musl build
+
+Downloaded from http://patchwork.openembedded.org/patch/112685/
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+
+
+From d811875a41b4628040abaada3da29b7b9592e757 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Sat, 9 Jan 2016 17:16:16 -0800
+Subject: [PATCH] vmcore-dmesg: Define _GNU_SOURCE
+
+loff_t is guarded with _GNU_SOURCE on some C library implementations
+e.g. musl since this type is not defined by POSIX. Define _GNU_SOURCE to
+include this define, it should help compiling on musl while nothing
+changes for glibc based systems since there _GNU_SOURCE is already
+defined
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+Upstream-Status: Submitted
+
+ vmcore-dmesg/vmcore-dmesg.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/vmcore-dmesg/vmcore-dmesg.c b/vmcore-dmesg/vmcore-dmesg.c
+index 0364636..a8f56df 100644
+--- a/vmcore-dmesg/vmcore-dmesg.c
++++ b/vmcore-dmesg/vmcore-dmesg.c
+@@ -1,4 +1,5 @@
+ #define _XOPEN_SOURCE 600
++#define _GNU_SOURCE
+ #define _LARGEFILE_SOURCE 1
+ #define _FILE_OFFSET_BITS 64
+ #include <endian.h>
+-- 
+2.7.0
+
Signature · 1 line
2.7.0.rc3