summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVjaceslavs Klimovs <vklimovs@gmail.com>2020-03-14 19:08:20 -0700
committerMatthias Maier <tamiko@gentoo.org>2020-03-14 21:43:33 -0500
commit307eb082e26acedb5b85ee9f82bfe43fcbe4d960 (patch)
tree6ff131b25f13e758f0a27a081426504dd9dbc559 /app-emulation/qemu-guest-agent/files
parentnet-libs/mbedtls: restore 2.17.0 for net-p2p/fms (diff)
downloadgentoo-307eb082e26acedb5b85ee9f82bfe43fcbe4d960.tar.gz
gentoo-307eb082e26acedb5b85ee9f82bfe43fcbe4d960.tar.bz2
gentoo-307eb082e26acedb5b85ee9f82bfe43fcbe4d960.zip
app-emulation/qemu-guest-agent: bump to 4.2.0.
Closes: https://bugs.gentoo.org/712596 Closes: https://github.com/gentoo/gentoo/pull/14959/files Signed-off-by: Vjaceslavs Klimovs <vklimovs@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation/qemu-guest-agent/files')
-rw-r--r--app-emulation/qemu-guest-agent/files/qemu-guest-agent-4.2.0-sysmacros.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/qemu-guest-agent/files/qemu-guest-agent-4.2.0-sysmacros.patch b/app-emulation/qemu-guest-agent/files/qemu-guest-agent-4.2.0-sysmacros.patch
new file mode 100644
index 00000000000..94b6a2c8bb3
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/files/qemu-guest-agent-4.2.0-sysmacros.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/580924
+
+Linux C libs are moving away from implicit header pollution with sys/types.h
+
+--- a/include/qemu/osdep.h
++++ b/include/qemu/osdep.h
+@@ -118,6 +118,10 @@ extern int daemon(int, int);
+ #include <setjmp.h>
+ #include <signal.h>
+
++#ifdef __linux__
++#include <sys/sysmacros.h>
++#endif
++
+ #ifdef __OpenBSD__
+ #include <sys/signal.h>
+ #endif