libnvme: update to 1.8.

This commit is contained in:
Andrew J. Hesford 2024-02-26 09:44:03 -05:00
parent 7e20642bd1
commit 5cd3e6c307
2 changed files with 4 additions and 30 deletions

View file

@ -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);

View file

@ -1,10 +1,10 @@
# Template file for 'libnvme'
pkgname=libnvme
version=1.6
revision=2
version=1.8
revision=1
build_style=meson
configure_args="-Ddocs=man"
hostmakedepends="pkg-config swig"
hostmakedepends="pkg-config swig tar xz"
makedepends="json-c-devel openssl-devel python3-devel"
checkdepends="perl"
short_desc="C Library for NVM Express on Linux"
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/linux-nvme/libnvme"
distfiles="https://github.com/linux-nvme/libnvme/archive/v${version}.tar.gz"
checksum=0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7
checksum=d59939a280eec41eb7a716e1681d0d0c612099385204ffb55d07134a6be08d75
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"