libnvme: update to 1.6.
This commit is contained in:
parent
eb8da13840
commit
3c03c0839e
2 changed files with 29 additions and 3 deletions
26
srcpkgs/libnvme/patches/fix-cross.patch
Normal file
26
srcpkgs/libnvme/patches/fix-cross.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- 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,7 +1,7 @@
|
|||
# Template file for 'libnvme'
|
||||
pkgname=libnvme
|
||||
version=1.2
|
||||
revision=2
|
||||
version=1.6
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Ddocs=man"
|
||||
hostmakedepends="pkg-config swig"
|
||||
|
@ -12,7 +12,7 @@ maintainer="Subhaditya Nath <sn03.general@gmail.com>"
|
|||
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=2697c86e9d8597fcd264f8bf8af57a529346efa4f611ca2be855e3aa89b9eb2c
|
||||
checksum=0dd8ba8b655abe78c09833edb66632aa6bee82aebf117dd252ded968deaaeec7
|
||||
|
||||
libnvme-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue