libnvme: update to 1.1

This commit is contained in:
Subhaditya Nath 2022-08-02 15:57:28 +05:30 committed by classabbyamp
parent 7ff4f4ab31
commit 39914207e5
2 changed files with 3 additions and 15 deletions

View file

@ -1,13 +0,0 @@
SCOPE_DELIMITER not defined in musl
--- a/src/nvme/fabrics.c
+++ b/src/nvme/fabrics.c
@@ -325,7 +325,7 @@
nvme_msg(r, LOG_ERR, "cannot copy: %s\n", src);
const char *scope = NULL;
- char *p = strchr(tmp, SCOPE_DELIMITER);
+ char *p = strchr(tmp, '%');
if (p) {
*p = '\0';
scope = src + (p - tmp) + 1;

View file

@ -1,17 +1,18 @@
# Template file for 'libnvme'
pkgname=libnvme
version=1.0
version=1.1
revision=1
build_style=meson
configure_args="-Ddocs=man"
hostmakedepends="pkg-config swig"
makedepends="libuuid-devel json-c-devel openssl-devel python3-devel"
checkdepends="perl"
short_desc="C Library for NVM Express on Linux"
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=387524b1c24a4091a88bfb258c98c054f716da210e77702f0709164740370807
checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"