summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-21 00:15:47 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-21 00:15:47 -0400
commit39a50ac279d25e74e00f26d41d7ab4488f0221e1 (patch)
treed7934134676278ea3bf0c9ca5559694ac361a611 /dev-util/umockdev/files
parentdev-qt/qt-creator: version bump (diff)
downloadgentoo-39a50ac279d25e74e00f26d41d7ab4488f0221e1.tar.gz
gentoo-39a50ac279d25e74e00f26d41d7ab4488f0221e1.tar.bz2
gentoo-39a50ac279d25e74e00f26d41d7ab4488f0221e1.zip
dev-util/umockdev: fix build w/newer glibc #579988
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>