summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-05-09 17:57:10 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-05-09 17:57:57 +0200
commitf038d193d45f4637e7ecbb54a1624ba44d72175a (patch)
tree45b83550166b13cd7cc6b5aeedf4621341f013a6 /sys-block/open-iscsi
parentdev-python/nbconvert: add missing dependency (diff)
downloadgentoo-f038d193d45f4637e7ecbb54a1624ba44d72175a.tar.gz
gentoo-f038d193d45f4637e7ecbb54a1624ba44d72175a.tar.bz2
gentoo-f038d193d45f4637e7ecbb54a1624ba44d72175a.zip
sys-block/open-iscsi: Re-added accidentally removed patch file
Closes: https://bugs.gentoo.org/685464 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block/open-iscsi')
-rw-r--r--sys-block/open-iscsi/files/open-iscsi-2.0.875-include-sysmacros.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.875-include-sysmacros.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.875-include-sysmacros.patch
new file mode 100644
index 000000000000..7c19a1e6ba23
--- /dev/null
+++ b/sys-block/open-iscsi/files/open-iscsi-2.0.875-include-sysmacros.patch
@@ -0,0 +1,21 @@
+From 6d68ef5871c94c6ebbbe6e6b1fe0bc2dce711052 Mon Sep 17 00:00:00 2001
+From: Lee Duncan <lduncan@suse.com>
+Date: Sat, 2 Dec 2017 14:19:26 -0800
+Subject: [PATCH] Include <sys/sysmacros.h> to properly define minor()
+
+---
+ iscsiuio/src/unix/libs/qedi.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/iscsiuio/src/unix/libs/qedi.c b/iscsiuio/src/unix/libs/qedi.c
+index c6ff6e77..b81fecdf 100644
+--- a/iscsiuio/src/unix/libs/qedi.c
++++ b/iscsiuio/src/unix/libs/qedi.c
+@@ -58,6 +58,7 @@
+ #include <sys/user.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <sys/sysmacros.h>
+
+ #include "config.h"
+