summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-06-15 11:53:51 +0200
committerDavid Seifert <soap@gentoo.org>2020-06-15 11:53:51 +0200
commit54d131edd288aa09a6faaf079ec1b03cf9f293e4 (patch)
tree51100dd0ae7228a5fa7ddb8207964f60eb329ccc /sys-apps/iproute2
parentsci-geosciences/liblas: Fix building against boost 1.73 (diff)
downloadgentoo-54d131edd288aa09a6faaf079ec1b03cf9f293e4.tar.gz
gentoo-54d131edd288aa09a6faaf079ec1b03cf9f293e4.tar.bz2
gentoo-54d131edd288aa09a6faaf079ec1b03cf9f293e4.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r--sys-apps/iproute2/files/iproute2-5.7.0-mix-signal.h-include.patch10
-rw-r--r--sys-apps/iproute2/iproute2-5.7.0.ebuild1
2 files changed, 11 insertions, 0 deletions
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 000000000000..be606c107fc2
--- /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 7dcb54c51f5b..6a78d7f40fb6 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() {