summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-29 00:14:52 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-29 00:17:55 -0400
commit667a4998e29bec427a8f7ffe29a8de668a24d948 (patch)
tree4f8cd23f92b6726db33435f90883be608f42afae
parentnet-analyzer/nettop: run eautoreconf for clang16 (diff)
downloadgentoo-667a4998.tar.gz
gentoo-667a4998.tar.bz2
gentoo-667a4998.zip
net-analyzer/jnettop: fix configure with clang16
Closes: https://bugs.gentoo.org/870667 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-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() {