From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 991AF158013 for ; Sat, 16 Dec 2023 08:24:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEFE92BC017; Sat, 16 Dec 2023 08:24:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 ABB042BC017 for ; Sat, 16 Dec 2023 08:24:56 +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 E0D2D33D9AD for ; Sat, 16 Dec 2023 08:24:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85CAE1450 for ; Sat, 16 Dec 2023 08:24:54 +0000 (UTC) From: "Sam James" 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" Message-ID: <1702715034.fdc52315cd216a96a9956991d21f06348ef9de6e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/udns/files/, net-libs/udns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/udns/files/udns-0.4-configure-c99.patch net-libs/udns/udns-0.4-r3.ebuild X-VCS-Directories: net-libs/udns/files/ net-libs/udns/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fdc52315cd216a96a9956991d21f06348ef9de6e X-VCS-Branch: master Date: Sat, 16 Dec 2023 08:24:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d63e0a98-cd80-45d5-9a3b-5242e631375b X-Archives-Hash: 03234ecb93307f1faebecdf92ff48ac8 commit: fdc52315cd216a96a9956991d21f06348ef9de6e Author: Sam James gentoo org> AuthorDate: Sat Dec 16 08:11:10 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 16 08:23:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc52315 net-libs/udns: fix (another) modern C issue Bug: https://bugs.gentoo.org/874759 Bug: https://bugs.gentoo.org/883285 Closes: https://bugs.gentoo.org/919260 Signed-off-by: Sam James gentoo.org> net-libs/udns/files/udns-0.4-configure-c99.patch | 33 +++++++++++++++++ net-libs/udns/udns-0.4-r3.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/net-libs/udns/files/udns-0.4-configure-c99.patch b/net-libs/udns/files/udns-0.4-configure-c99.patch new file mode 100644 index 000000000000..cedf073fe0ff --- /dev/null +++ b/net-libs/udns/files/udns-0.4-configure-c99.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/874759 +https://bugs.gentoo.org/883285 +https://bugs.gentoo.org/919260 +https://src.fedoraproject.org/rpms/udns/c/27e7b66faa416c13b113e895c204373596282c37?branch=rawhide + +Provide autoconf-style fake prototype for socket to avoid implicit +function declarations. Otherwise the check will always fail with soem +C99 compilers. + +Avoid incorrect pointer types and a pointer-to-int conversion with +inet_pton and inet_ntop. + +--- a/configure ++++ b/configure +@@ -75,6 +75,7 @@ int main(int argc, char **argv) { + EOF + + if ac_library_find_v 'socket and connect' "" "-lsocket -lnsl" <