mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
libnvme: update to 1.8.
This commit is contained in:
parent
7e20642bd1
commit
5cd3e6c307
2 changed files with 4 additions and 30 deletions
|
@ -1,26 +0,0 @@
|
||||||
--- a/test/ioctl/mock.c
|
|
||||||
+++ b/test/ioctl/mock.c
|
|
||||||
@@ -114,7 +114,11 @@
|
|
||||||
} \
|
|
||||||
})
|
|
||||||
|
|
||||||
+#if __USE_GNU
|
|
||||||
int ioctl(int fd, unsigned long request, ...)
|
|
||||||
+#else
|
|
||||||
+int ioctl(int fd, int request, ...)
|
|
||||||
+#endif
|
|
||||||
{
|
|
||||||
struct mock_cmds *mock_cmds;
|
|
||||||
bool result64;
|
|
||||||
@@ -141,7 +141,11 @@
|
|
||||||
result64 = true;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
+#if __USE_GNU
|
|
||||||
fail("unexpected %s %lu", __func__, request);
|
|
||||||
+#else
|
|
||||||
+ fail("unexpected %s %u", __func__, request);
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
check(mock_cmds->remaining_cmds,
|
|
||||||
"unexpected %s command", mock_cmds->name);
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'libnvme'
|
# Template file for 'libnvme'
|
||||||
pkgname=libnvme
|
pkgname=libnvme
|
||||||
version=1.6
|
version=1.8
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Ddocs=man"
|
configure_args="-Ddocs=man"
|
||||||
hostmakedepends="pkg-config swig"
|
hostmakedepends="pkg-config swig tar xz"
|
||||||
makedepends="json-c-devel openssl-devel python3-devel"
|
makedepends="json-c-devel openssl-devel python3-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
short_desc="C Library for NVM Express on Linux"
|
short_desc="C Library for NVM Express on Linux"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://github.com/linux-nvme/libnvme"
|
homepage="https://github.com/linux-nvme/libnvme"
|
||||||
distfiles="https://github.com/linux-nvme/libnvme/archive/v${version}.tar.gz"
|
distfiles="https://github.com/linux-nvme/libnvme/archive/v${version}.tar.gz"
|
||||||
checksum=0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7
|
checksum=d59939a280eec41eb7a716e1681d0d0c612099385204ffb55d07134a6be08d75
|
||||||
|
|
||||||
libnvme-devel_package() {
|
libnvme-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"
|
depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue