mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
ndctl: update to 61.1.
This commit is contained in:
parent
de4e388c83
commit
5818f2e86a
2 changed files with 17 additions and 2 deletions
15
srcpkgs/ndctl/patches/fix-musl.patch
Normal file
15
srcpkgs/ndctl/patches/fix-musl.patch
Normal file
|
@ -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 <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>
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'ndctl'
|
# Template file for 'ndctl'
|
||||||
pkgname=ndctl
|
pkgname=ndctl
|
||||||
version=60.3
|
version=61.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="asciidoc automake libtool pkg-config xmlto"
|
hostmakedepends="asciidoc automake libtool pkg-config xmlto"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="LGPL-2.1-only, GPL-2.0-only"
|
license="LGPL-2.1-only, GPL-2.0-only"
|
||||||
homepage="https://github.com/pmem/ndctl"
|
homepage="https://github.com/pmem/ndctl"
|
||||||
distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz"
|
distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz"
|
||||||
checksum=5a97672e90eb9916fbde05e4246754a9290d780200e140be68fd4babc0cfe775
|
checksum=815a06600a233326b898504262c359cb7c1282b1f11c011a558bf5f26b8b28be
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue