summaryrefslogtreecommitdiff
path: root/user/nvme-cli/add-limits.patch
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2021-08-10 11:40:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2021-08-10 11:40:52 -0500
commit761e805266c2f63eb504f08ebb042eb3cb50c6a0 (patch)
treecc1379e81fb61b35245c09ece80abd0087f17794 /user/nvme-cli/add-limits.patch
parent2bf0f548ae2f54c3f67a2f931749f086b6140e88 (diff)
downloadpackages-761e805266c2f63eb504f08ebb042eb3cb50c6a0.tar.gz
packages-761e805266c2f63eb504f08ebb042eb3cb50c6a0.tar.bz2
packages-761e805266c2f63eb504f08ebb042eb3cb50c6a0.tar.xz
packages-761e805266c2f63eb504f08ebb042eb3cb50c6a0.zip
user/nvme-cli: new package
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"