commit:     54d131edd288aa09a6faaf079ec1b03cf9f293e4
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:53:51 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:53:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d131ed

sys-apps/iproute2: Patch for missing #include <signal.h>

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../iproute2/files/iproute2-5.7.0-mix-signal.h-include.patch   | 10 ++++++++++
 sys-apps/iproute2/iproute2-5.7.0.ebuild                        |  1 +
 2 files changed, 11 insertions(+)

diff --git a/sys-apps/iproute2/files/iproute2-5.7.0-mix-signal.h-include.patch 
b/sys-apps/iproute2/files/iproute2-5.7.0-mix-signal.h-include.patch
new file mode 100644
index 00000000000..be606c107fc
--- /dev/null
+++ b/sys-apps/iproute2/files/iproute2-5.7.0-mix-signal.h-include.patch
@@ -0,0 +1,10 @@
+--- a/devlink/devlink.c
++++ b/devlink/devlink.c
+@@ -15,6 +15,7 @@
+ #include <string.h>
+ #include <stdbool.h>
+ #include <unistd.h>
++#include <signal.h>
+ #include <getopt.h>
+ #include <limits.h>
+ #include <errno.h>

diff --git a/sys-apps/iproute2/iproute2-5.7.0.ebuild 
b/sys-apps/iproute2/iproute2-5.7.0.ebuild
index 7dcb54c51f5..6a78d7f40fb 100644
--- a/sys-apps/iproute2/iproute2-5.7.0.ebuild
+++ b/sys-apps/iproute2/iproute2-5.7.0.ebuild
@@ -48,6 +48,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-3.1.0-mtu.patch #291907
        "${FILESDIR}"/${PN}-4.20.0-configure-nomagic.patch # bug 643722
        "${FILESDIR}"/${PN}-5.1.0-portability.patch
+       "${FILESDIR}"/${PN}-5.7.0-mix-signal.h-include.patch
 )
 
 src_prepare() {

Reply via email to