From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1494930-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6B751158062
	for <garchives@archives.gentoo.org>; Fri, 10 Mar 2023 13:55:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ABF3CE085B;
	Fri, 10 Mar 2023 13:55:39 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9156AE0845
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Mar 2023 13:55:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id AE2B3335D6F
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Mar 2023 13:55:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DDC58DD
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Mar 2023 13:55:37 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1678456512.d7f6f2d938cc48a64919dce4fa295d4751c71a51.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/lrzsz/files/, net-dialup/lrzsz/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild net-dialup/lrzsz/lrzsz-0.12.20-r5.ebuild
X-VCS-Directories: net-dialup/lrzsz/files/ net-dialup/lrzsz/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d7f6f2d938cc48a64919dce4fa295d4751c71a51
X-VCS-Branch: master
Date: Fri, 10 Mar 2023 13:55:37 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b0be53fa-3c28-422b-a9d8-69d36931962b
X-Archives-Hash: 7dc4a9d0daf236eafecd01a160f82779

commit:     d7f6f2d938cc48a64919dce4fa295d4751c71a51
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 13:53:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 13:55:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f6f2d9

net-dialup/lrzsz: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/898970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../lrzsz/files/lrzsz-0.12.20-configure-clang16.patch       | 13 +++++++++++++
 .../{lrzsz-0.12.20-r4.ebuild => lrzsz-0.12.20-r5.ebuild}    |  6 +++---
 2 files changed, 16 insertions(+), 3 deletions(-)

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 000000000000..bda489d11dd4
--- /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 <sys/types.h>
+ #include <sys/timeb.h>
+ #include <stdio.h>
+-main ()
++#include <stdlib.h>
++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 9134cf53053f..ba988723b913 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)
 }