summaryrefslogtreecommitdiff
path: root/user/nvme-cli/add-limits.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-08-10 16:45:01 +0000
committerZach van Rijn <me@zv.io>2021-08-10 16:45:01 +0000
commit9a98e2907ec1a5f36e40e9b60c20cf74a7622c3a (patch)
treecc1379e81fb61b35245c09ece80abd0087f17794 /user/nvme-cli/add-limits.patch
parent2bf0f548ae2f54c3f67a2f931749f086b6140e88 (diff)
parent761e805266c2f63eb504f08ebb042eb3cb50c6a0 (diff)
downloadpackages-9a98e2907ec1a5f36e40e9b60c20cf74a7622c3a.tar.gz
packages-9a98e2907ec1a5f36e40e9b60c20cf74a7622c3a.tar.bz2
packages-9a98e2907ec1a5f36e40e9b60c20cf74a7622c3a.tar.xz
packages-9a98e2907ec1a5f36e40e9b60c20cf74a7622c3a.zip
Merge branch 'nvme-cli' into 'master'
user/nvme-cli: new package See merge request adelie/packages!621
Diffstat (limited to 'user/nvme-cli/add-limits.patch')
-rw-r--r--user/nvme-cli/add-limits.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/nvme-cli/add-limits.patch b/user/nvme-cli/add-limits.patch
new file mode 100644
index 000000000..d62718199
--- /dev/null
+++ b/user/nvme-cli/add-limits.patch
@@ -0,0 +1,20 @@
+--- nvme-cli-1.14.orig/nvme-rpmb.c
++++ nvme-cli-1.14/nvme-rpmb.c
+@@ -25,6 +25,7 @@
+ #include <sys/socket.h>
+ #include <linux/if_alg.h>
+ #include <linux/socket.h>
++#include <limits.h>
+
+ #include "nvme.h"
+ #include "nvme-print.h"
+--- nvme-cli-1.14.orig/nvme-topology.c
++++ nvme-cli-1.14/nvme-topology.c
+@@ -5,6 +5,7 @@
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
++#include <limits.h>
+
+ #include "nvme.h"
+ #include "nvme-ioctl.h"