From 5818f2e86a264a3fe6c601115f0ff185d0bedec5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 26 Jun 2018 23:29:43 -0300 Subject: [PATCH] ndctl: update to 61.1. --- srcpkgs/ndctl/patches/fix-musl.patch | 15 +++++++++++++++ srcpkgs/ndctl/template | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/ndctl/patches/fix-musl.patch diff --git a/srcpkgs/ndctl/patches/fix-musl.patch b/srcpkgs/ndctl/patches/fix-musl.patch new file mode 100644 index 0000000000..cf0621ff66 --- /dev/null +++ b/srcpkgs/ndctl/patches/fix-musl.patch @@ -0,0 +1,15 @@ +Source: maxice8 +Upstream: soon +Reason: Fixes compilation on musl libc by defining missing ssize_t + +--- util/strbuf.h ++++ util/strbuf.h +@@ -17,6 +17,7 @@ + #define __NDCTL_STRBUF_H + #include + #include ++#include /* for ssize_t */ + + /* + * Strbuf's can be use in many ways: as a byte array, or to store arbitrary + diff --git a/srcpkgs/ndctl/template b/srcpkgs/ndctl/template index 45c0446e67..506eaa731e 100644 --- a/srcpkgs/ndctl/template +++ b/srcpkgs/ndctl/template @@ -1,6 +1,6 @@ # Template file for 'ndctl' pkgname=ndctl -version=60.3 +version=61.1 revision=1 build_style=gnu-configure hostmakedepends="asciidoc automake libtool pkg-config xmlto" @@ -10,7 +10,7 @@ maintainer="maxice8 " license="LGPL-2.1-only, GPL-2.0-only" homepage="https://github.com/pmem/ndctl" distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz" -checksum=5a97672e90eb9916fbde05e4246754a9290d780200e140be68fd4babc0cfe775 +checksum=815a06600a233326b898504262c359cb7c1282b1f11c011a558bf5f26b8b28be pre_configure() { ./autogen.sh