diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:15:47 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-04-21 00:15:47 -0400 |
commit | 39a50ac279d25e74e00f26d41d7ab4488f0221e1 (patch) | |
tree | d7934134676278ea3bf0c9ca5559694ac361a611 /dev-util/umockdev | |
parent | dev-qt/qt-creator: version bump (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-util/umockdev/files/umockdev-0.8.11-sysmacros.patch | 43 | ||||
-rw-r--r-- | dev-util/umockdev/umockdev-0.8.11.ebuild | 4 |
2 files changed, 47 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> diff --git a/dev-util/umockdev/umockdev-0.8.11.ebuild b/dev-util/umockdev/umockdev-0.8.11.ebuild index a65cd564be8b..d3b6456b42e0 100644 --- a/dev-util/umockdev/umockdev-0.8.11.ebuild +++ b/dev-util/umockdev/umockdev-0.8.11.ebuild @@ -25,3 +25,7 @@ DEPEND="${RDEPEND} virtual/pkgconfig" RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${P}-sysmacros.patch #579988 +) |