summaryrefslogtreecommitdiff
path: root/dev-util/umockdev/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 /dev-util/umockdev/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/umockdev/files')
-rw-r--r--dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch b/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch
new file mode 100644
index 000000000000..17ee6b23759a
--- /dev/null
+++ b/dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch
@@ -0,0 +1,43 @@
+https://github.com/martinpitt/umockdev/pull/52
+https://bugs.gentoo.org/579988
+
+--- a/src/libumockdev-preload.c
++++ b/src/libumockdev-preload.c
+@@ -39,6 +39,7 @@
+ #include <inttypes.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/inotify.h>
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+--- a/src/umockdev-record.c
++++ b/src/umockdev-record.c
+@@ -31,6 +31,7 @@
+ #include <stdarg.h>
+ #include <sys/stat.h>
+ #include <errno.h>
++#include <sys/sysmacros.h>
+ #include <sys/types.h>
+ #include <glib/gstdio.h>
+ #include <fcntl.h>
+--- a/tests/test-umockdev-vala.c
++++ b/tests/test-umockdev-vala.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <glib/gstdio.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <gobject/gvaluecollector.h>
+
+ #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
+--- a/tests/test-umockdev.c
++++ b/tests/test-umockdev.c
+@@ -29,6 +29,7 @@
+ #include <errno.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <sys/sysmacros.h>
+ #include <sys/un.h>
+ #include <linux/usbdevice_fs.h>
+ #include <linux/input.h>