From c44316271e6064fea31e8fd5ed3a330ca3f4dd7e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 26 Jun 2015 06:35:58 +0200 Subject: [PATCH] kexec-tools: update to 2.0.10. --- srcpkgs/kexec-tools/patches/musl.patch | 12 ++++++++++++ srcpkgs/kexec-tools/template | 11 +++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/kexec-tools/patches/musl.patch diff --git a/srcpkgs/kexec-tools/patches/musl.patch b/srcpkgs/kexec-tools/patches/musl.patch new file mode 100644 index 0000000000..54a72346b0 --- /dev/null +++ b/srcpkgs/kexec-tools/patches/musl.patch @@ -0,0 +1,12 @@ +--- vmcore-dmesg/vmcore-dmesg.c.orig 2015-06-26 06:34:07.265191695 +0200 ++++ vmcore-dmesg/vmcore-dmesg.c 2015-06-26 06:34:44.306162445 +0200 +@@ -12,7 +12,9 @@ + #include + #include + #include ++#define _GNU_SOURCE /* loff_t with musl */ + #include ++#undef _GNU_SOURCE + #include + #include + #include diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template index aff9f10c52..1c7d83bdd4 100644 --- a/srcpkgs/kexec-tools/template +++ b/srcpkgs/kexec-tools/template @@ -1,13 +1,16 @@ # Template file for 'kexec-tools' pkgname=kexec-tools -version=2.0.9 -revision=2 +version=2.0.10 +revision=1 build_style=gnu-configure -configure_args="--sbindir=/usr/bin" makedepends="liblzma-devel" short_desc="Tools to support fast kexec reboots" maintainer="Juan RP " license="GPL-2" homepage="http://kernel.org/pub/linux/utils/kernel/kexec/" distfiles="${KERNEL_SITE}/utils/kernel/kexec/$pkgname-$version.tar.xz" -checksum=8ae34a9ceb76350954e1e1e3ca9ab51da15862bd5f2fd14392208e60fb454f71 +checksum=e23e4149712c861b2755e268a89d2e73a6cd1af4abc362a1ce419e212d19a1a3 + +pre_build() { + rm ${XBPS_WRAPPERDIR}/strip +}