summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/jnettop')
-rw-r--r--net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch9
-rw-r--r--net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild1
2 files changed, 10 insertions, 0 deletions
diff --git a/net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch b/net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch
new file mode 100644
index 000000000000..d8723b6a5b13
--- /dev/null
+++ b/net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/870667
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -151,4 +151,5 @@
+ AC_MSG_CHECKING([if "localhost" resolves])
+ AC_TRY_RUN([
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
diff --git a/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
index f94cbf95ae1c..bfac1d1b3de9 100644
--- a/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
+++ b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
@@ -27,6 +27,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${P}-asneeded.patch"
"${FILESDIR}/${P}-tinfo.patch"
+ "${FILESDIR}/${P}-clang16.patch"
)
src_prepare() {