commit: d3442c4b5eba7d66b6db5681b08df79974c59708 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sun Aug 9 11:44:27 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sun Aug 9 11:47:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3442c4b
net-analyzer/angst: Fix compiling against sys-libs/glibc-2.32 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Closes: https://bugs.gentoo.org/736503 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> net-analyzer/angst/angst-0.4b-r3.ebuild | 1 + net-analyzer/angst/files/0.4b-sysctl.h.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/net-analyzer/angst/angst-0.4b-r3.ebuild b/net-analyzer/angst/angst-0.4b-r3.ebuild index 8054d460f58..aab79cab327 100644 --- a/net-analyzer/angst/angst-0.4b-r3.ebuild +++ b/net-analyzer/angst/angst-0.4b-r3.ebuild @@ -23,6 +23,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PV}-flags.patch "${FILESDIR}"/${PV}-libnet-1.0.patch + "${FILESDIR}"/${PV}-sysctl.h.patch ) src_configure() { diff --git a/net-analyzer/angst/files/0.4b-sysctl.h.patch b/net-analyzer/angst/files/0.4b-sysctl.h.patch new file mode 100644 index 00000000000..16d8b53b6a3 --- /dev/null +++ b/net-analyzer/angst/files/0.4b-sysctl.h.patch @@ -0,0 +1,12 @@ +--- angst.h ++++ b/angst.h +@@ -8,7 +8,9 @@ + + #include <stdarg.h> + #include <sys/param.h> ++#ifndef LINUX + #include <sys/sysctl.h> ++#endif + #include <libnet-1.0.h> + #include <pcap.h> +
