main/libnvme: upgrade to 1.15

https://github.com/linux-nvme/libnvme/releases/tag/v1.15
This commit is contained in:
Daniel Néri 2025-07-31 01:06:33 +02:00 committed by achill (fossdd)
parent fbcd96e965
commit 2e7c8261ef
2 changed files with 3 additions and 37 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnvme
pkgver=1.14
pkgver=1.15
pkgrel=0
pkgdesc="C Library for NVM Express on Linux"
url="https://github.com/linux-nvme/libnvme/"
@ -25,12 +25,12 @@ checkdepends="diffutils"
subpackages="${pkgname}mi:mi $pkgname-dev py3-nvme-pyc py3-nvme:_py3"
source="https://github.com/linux-nvme/libnvme/archive/v$pkgver/libnvme-v$pkgver.tar.gz
doc-test.patch
rm-internal-include.patch
"
build() {
abuild-meson \
-Db_lto=true \
-Dexamples=false \
-Ddocs=false \
-Dpython=enabled \
-Dopenssl=enabled \
@ -57,7 +57,6 @@ mi() {
}
sha512sums="
96a1bbd6cea1e77381254e242e781b023416abfbf44c82a0aa6eb0b316b30316d32d0b91f441089a317cbae5b511f6b3eaab570624cbda2178f9dce4cb5dd288 libnvme-v1.14.tar.gz
7357685b3f47eda445387965420e7885a326a6b60b3da5af4a8bb942d4f924534babbde3d4aae8468c8a2f0ee4971f2896fadc133f4c387d59f9f620ed2450aa libnvme-v1.15.tar.gz
6ca036287d964db018a2ddfb5480b0b46e6f2edd9f0a7c39dbf5977ce58d8da4d619705e16a3f269bfa7c619d6da5aeff20d9b558c697f6d68e5d89a73ef586e doc-test.patch
c5937e9582c5d172678deab0ba020c8596156ab3ff97019caabc167b66934eb8b3037dccccbf34309a950b698cdcabeee2d4ad5d8bd7eb27cc2a38e74c21ab95 rm-internal-include.patch
"

View File

@ -1,33 +0,0 @@
Patch-Source: https://github.com/linux-nvme/libnvme/commit/9b3ab852075f6da64648145b2d2e56e34354bf45
---
From 9b3ab852075f6da64648145b2d2e56e34354bf45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20N=C3=A9ri?= <dne+commits@rb67.eu>
Date: Fri, 23 May 2025 12:36:44 +0200
Subject: [PATCH] examples: remove unnecessary include of <bits/pthreadtypes.h>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The <bits/*.h> header files are GNU libc specific, and should not be
used directly from application code. This one in particular is already
included by <pthread.h> on glibc.
Fixes build on musl.
Signed-off-by: Daniel Néri <dne+commits@rb67.eu>
---
examples/mi-mctp-csi-test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/mi-mctp-csi-test.c b/examples/mi-mctp-csi-test.c
index e049c32d..2ca7e629 100644
--- a/examples/mi-mctp-csi-test.c
+++ b/examples/mi-mctp-csi-test.c
@@ -21,7 +21,6 @@
#include <ccan/array_size/array_size.h>
#include <ccan/endian/endian.h>
-#include <bits/pthreadtypes.h>
void fhexdump(FILE *fp, const unsigned char *buf, int len)
{