mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
community/ndctl: upgrade to 79 & fix implicit function declaration
This commit is contained in:
parent
c01a98cafa
commit
c02b295262
@ -2,8 +2,8 @@
|
||||
# Contributor: Breno Leitao <breno.leitao@gmail.com>
|
||||
# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
|
||||
pkgname=ndctl
|
||||
pkgver=78
|
||||
pkgrel=1
|
||||
pkgver=79
|
||||
pkgrel=0
|
||||
pkgdesc="Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel"
|
||||
url="https://github.com/pmem/ndctl"
|
||||
arch="all"
|
||||
@ -32,6 +32,7 @@ subpackages="
|
||||
"
|
||||
source="ndctl-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz
|
||||
no-bash.patch
|
||||
basename.patch
|
||||
"
|
||||
options="!check" # tests require building & loading the nfit_test.ko kernel module
|
||||
|
||||
@ -49,6 +50,7 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ad217dd45c8d6bbd0089a88c46e1e04813b65e97c8817aaddeca967b20ce948e76c4b7ede5517c45d0b645b5c3dc61aac95cc944e8e5fc60100e45b41f13f2a0 ndctl-78.tar.gz
|
||||
36e178e93dc263cfa72504d3f7fd101a10abcb278c0e2157f98510b91e04cabcd17aa850f654a8870757a15730ea91abf09a79f632236ee3af18cd1c73f61871 ndctl-79.tar.gz
|
||||
cb48fdf9ff293164bf0ef52f38194d4bfb56eeec3f4cd173f4d3dd545ab17dcaeeb0362a3df700b519dc2c97407664094363faf76b900135eb24fed1ae4519fa no-bash.patch
|
||||
225414bb48d30e9036bb4f84013c3f9a12cb58b996aedfb446c549c2839957d3670acbdc438a858c15067170378aba9575c54baacf5ad60f9de9f93f54bb84b6 basename.patch
|
||||
"
|
||||
|
12
community/ndctl/basename.patch
Normal file
12
community/ndctl/basename.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/daxctl/device.c b/daxctl/device.c
|
||||
index d2d206b..c248516 100644
|
||||
--- a/daxctl/device.c
|
||||
+++ b/daxctl/device.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <util/parse-options.h>
|
||||
#include <util/parse-configs.h>
|
||||
#include <ccan/array_size/array_size.h>
|
||||
+#include <libgen.h>
|
||||
|
||||
#include "filter.h"
|
||||
#include "json.h"
|
Loading…
Reference in New Issue
Block a user