diff options
-rw-r--r-- | net-analyzer/angst/angst-0.4b-r3.ebuild | 1 | ||||
-rw-r--r-- | net-analyzer/angst/files/0.4b-sysctl.h.patch | 12 |
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> + |