From 079bba41c1a1bcfd10d59a13b4dc788a865743cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 12 Dec 2020 18:43:29 +0100 Subject: [PATCH] qemu: do not #include For our LIBCs including sys/signal.h is redundant. For glibc sys/signal.h has just one line: #include For musl libc it prints an annoying warning. --- srcpkgs/qemu/patches/ignore-sys-signal_h.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/qemu/patches/ignore-sys-signal_h.patch diff --git a/srcpkgs/qemu/patches/ignore-sys-signal_h.patch b/srcpkgs/qemu/patches/ignore-sys-signal_h.patch new file mode 100644 index 00000000000..8fdcdfea461 --- /dev/null +++ b/srcpkgs/qemu/patches/ignore-sys-signal_h.patch @@ -0,0 +1,17 @@ +Source: @pullmoll +Upstream: no +Reason: Not needed. For glibc this has just #include and for musl it prints a warning. + +--- osdep.h 2020-12-08 17:59:44.000000000 +0100 ++++ /tmp/void/glibc-2/builddir/qemu-5.2.0/include/qemu/osdep.h 2020-12-12 18:41:47.709685865 +0100 +@@ -104,10 +104,6 @@ + #include + #include + +-#ifdef HAVE_SYS_SIGNAL_H +-#include +-#endif +- + #ifndef _WIN32 + #include + #else