diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-29 00:14:52 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-29 00:17:55 -0400 |
commit | 667a4998e29bec427a8f7ffe29a8de668a24d948 (patch) | |
tree | 4f8cd23f92b6726db33435f90883be608f42afae /net-analyzer/jnettop | |
parent | net-analyzer/nettop: run eautoreconf for clang16 (diff) | |
download | gentoo-667a4998e29bec427a8f7ffe29a8de668a24d948.tar.gz gentoo-667a4998e29bec427a8f7ffe29a8de668a24d948.tar.bz2 gentoo-667a4998e29bec427a8f7ffe29a8de668a24d948.zip |
net-analyzer/jnettop: fix configure with clang16
Closes: https://bugs.gentoo.org/870667
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-analyzer/jnettop')
-rw-r--r-- | net-analyzer/jnettop/files/jnettop-0.13.0-clang16.patch | 9 | ||||
-rw-r--r-- | net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild | 1 |
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() { |