ndctl: update to 62.

This commit is contained in:
maxice8 2018-08-13 23:45:57 -03:00
parent d3531eb3dc
commit 212fec546f
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 4 additions and 17 deletions

View File

@ -1,15 +0,0 @@
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 <string.h>
#include <assert.h>
+#include <sys/types.h> /* for ssize_t */
/*
* Strbuf's can be use in many ways: as a byte array, or to store arbitrary
<Paste>

View File

@ -1,8 +1,9 @@
# Template file for 'ndctl'
pkgname=ndctl
version=61.2
version=62
revision=1
build_style=gnu-configure
configure_args="--without-systemd-unit-dir"
hostmakedepends="asciidoc automake libtool pkg-config xmlto"
makedepends="eudev-libudev-devel json-c-devel libkmod-devel libuuid-devel"
short_desc="Utility library for managing libnvdimm"
@ -10,7 +11,8 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
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=2e15b6720729a09b162dd8112b9551a26442b2766b0c481d61915100037da93a
checksum=1ce034264526312147f79c6ebeb076c3ab1a862cb4acf74b37351e0925901a60
conf_files="/etc/ndctl/monitor.conf"
pre_configure() {
./autogen.sh