aboutsummaryrefslogtreecommitdiffstats
path: root/community/nvme-cli
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-12 02:26:52 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-12 02:37:11 +0100
commitb9b7ab474a9776b3d16540ce8c9cf61f23c61683 (patch)
treed488705734f5c06f6b6b05709aabafd9f8dfb43e /community/nvme-cli
parentc7b2b8c96230c79c4780eada0414ae2e2c05f296 (diff)
downloadaports-b9b7ab474a9776b3d16540ce8c9cf61f23c61683.tar.bz2
aports-b9b7ab474a9776b3d16540ce8c9cf61f23c61683.tar.xz
community/nvme-cli: upgrade to 1.10.1
Diffstat (limited to 'community/nvme-cli')
-rw-r--r--community/nvme-cli/APKBUILD6
-rw-r--r--community/nvme-cli/PATH_MAX.patch12
2 files changed, 16 insertions, 2 deletions
diff --git a/community/nvme-cli/APKBUILD b/community/nvme-cli/APKBUILD
index 8daf1d9ab3..a4db23f600 100644
--- a/community/nvme-cli/APKBUILD
+++ b/community/nvme-cli/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Florian Heigl <florian.heigl@gmail.com>
# Maintainer: Florian Heigl <florian.heigl@gmail.com>
pkgname=nvme-cli
-pkgver=1.9
+pkgver=1.10.1
pkgrel=0
pkgdesc="NVM-Express user space tooling for Linux"
options="!check" # Requires nose2
@@ -15,6 +15,7 @@ subpackages="
$pkgname-zsh-completion:zshcomp:noarch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/nvme-cli/archive/v$pkgver.tar.gz
+ PATH_MAX.patch
"
build() {
@@ -45,4 +46,5 @@ zshcomp() {
"$subpkgdir"/usr/share/zsh/site-functions/_nvme
}
-sha512sums="3565b33bc39bde4480bbde5d46d75ea6907c0921884e8f39029b746f8383d3630942e405c61bcc3654bac5646bc86479b4b790e1b823ec83650649621bab6dac nvme-cli-1.9.tar.gz"
+sha512sums="92bef073205b357f4b14ba929b7f261d0c18b343e5e244cefc24521dfc581dec4b941a13dc00f9a3b4d938ccd026c847d58ccfd75f813cc3c4f484f8316269dc nvme-cli-1.10.1.tar.gz
+c4b66b47c0ee04125cafd77b4601dcef3fe439fcc311e8a1850e83f903b81a81059acbcf15397054572b31b5b144964fac7aee1be3b0c2f3b26b65e87070ef10 PATH_MAX.patch"
diff --git a/community/nvme-cli/PATH_MAX.patch b/community/nvme-cli/PATH_MAX.patch
new file mode 100644
index 0000000000..6f167cc266
--- /dev/null
+++ b/community/nvme-cli/PATH_MAX.patch
@@ -0,0 +1,12 @@
+diff --git a/plugins/micron/micron-nvme.c b/plugins/micron/micron-nvme.c
+index 8240887..78cb3e3 100644
+--- a/plugins/micron/micron-nvme.c
++++ b/plugins/micron/micron-nvme.c
+@@ -13,6 +13,7 @@
+ #include "nvme-print.h"
+ #include "nvme-ioctl.h"
+ #include <sys/ioctl.h>
++#include <limits.h>
+
+ #define CREATE_CMD
+ #include "micron-nvme.h"