diff --git a/net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch b/net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch new file mode 100644 index 0000000000000..bda489d11dd4d --- /dev/null +++ b/net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/898970 +--- a/configure.in ++++ b/configure.in +@@ -186,7 +186,8 @@ AC_CACHE_VAL(lrzsz_cv_sys_ftime_ok, + #include + #include + #include +-main () ++#include ++int main (void) + { + struct timeb s, slast; + int c = 0; diff --git a/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild b/net-dialup/lrzsz/lrzsz-0.12.20-r5.ebuild similarity index 92% rename from net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild rename to net-dialup/lrzsz/lrzsz-0.12.20-r5.ebuild index 9134cf53053f8..ba988723b913f 100644 --- a/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild +++ b/net-dialup/lrzsz/lrzsz-0.12.20-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools flag-o-matic toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="Communication package providing the X, Y, and ZMODEM file transfer protocols" HOMEPAGE="https://www.ohse.de/uwe/software/lrzsz.html" @@ -23,6 +23,7 @@ PATCHES=( "${FILESDIR}"/${P}-automake-1.13.patch "${FILESDIR}"/${P}-gettext-0.20.patch "${FILESDIR}"/${P}-AR.patch + "${FILESDIR}"/${P}-configure-clang16.patch ) DOCS=( AUTHORS COMPATABILITY ChangeLog NEWS \ @@ -43,7 +44,6 @@ src_prepare() { src_configure() { tc-export CC - append-flags -Wstrict-prototypes econf $(use_enable nls) }