summaryrefslogtreecommitdiff
path: root/sys-apps/dmapi/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/dmapi/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/dmapi/files')
-rw-r--r--sys-apps/dmapi/files/dmapi-2.2.12-headers.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/dmapi/files/dmapi-2.2.12-headers.patch b/sys-apps/dmapi/files/dmapi-2.2.12-headers.patch
new file mode 100644
index 000000000000..259e1aec3a09
--- /dev/null
+++ b/sys-apps/dmapi/files/dmapi-2.2.12-headers.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/560212
+
+pull in headers for funcs that are used
+
+--- a/libdm/dm_handle2path.c
++++ b/libdm/dm_handle2path.c
+@@ -20,6 +20,9 @@
+ #include <dmapi_kern.h>
+ #include "dmapi_lib.h"
+
++#include <fcntl.h> /* open */
++#include <unistd.h> /* close */
++#include <string.h> /* strlen */
+ #include <mntent.h>
+ #include <dirent.h>
+ #ifdef linux