summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-09 13:44:27 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-09 13:47:47 +0200
commitd3442c4b5eba7d66b6db5681b08df79974c59708 (patch)
treeb27c9acda56f4d24297e185e9e9cf66cabaab2a4 /net-analyzer/angst
parentprofiles/updates: pkgmove media-libs/ladspa-cmt → media-plugins/cmt-plugins (diff)
downloadgentoo-d3442c4b5eba7d66b6db5681b08df79974c59708.tar.gz
gentoo-d3442c4b5eba7d66b6db5681b08df79974c59708.tar.bz2
gentoo-d3442c4b5eba7d66b6db5681b08df79974c59708.zip
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@gentoo.org>
Diffstat (limited to 'net-analyzer/angst')
-rw-r--r--net-analyzer/angst/angst-0.4b-r3.ebuild1
-rw-r--r--net-analyzer/angst/files/0.4b-sysctl.h.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/net-analyzer/angst/angst-0.4b-r3.ebuild b/net-analyzer/angst/angst-0.4b-r3.ebuild
index 8054d460f586..aab79cab3279 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 000000000000..16d8b53b6a3f
--- /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>
+