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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EA4715800D for ; Sun, 9 Jul 2023 02:13:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDBA4E0975; Sun, 9 Jul 2023 02:13:19 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9D49E0975 for ; Sun, 9 Jul 2023 02:13:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0AC1340DF9 for ; Sun, 9 Jul 2023 02:13:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A45CAD1 for ; Sun, 9 Jul 2023 02:13:17 +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: <1688868618.484780bbcbc5bbace9eebb4ed538760df7dd2343.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-pton-ntop-clang16.patch net-libs/udns/udns-0.4-r1.ebuild net-libs/udns/udns-0.4-r2.ebuild X-VCS-Directories: net-libs/udns/files/ net-libs/udns/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 484780bbcbc5bbace9eebb4ed538760df7dd2343 X-VCS-Branch: master Date: Sun, 9 Jul 2023 02:13:17 +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: f56709d8-dc76-4e57-9029-78a4fd61c20c X-Archives-Hash: f711c8521b045f213ca6566e4928d615 commit: 484780bbcbc5bbace9eebb4ed538760df7dd2343 Author: Violet Purcell inventati org> AuthorDate: Sat Jul 8 18:39:56 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 9 02:10:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484780bb net-libs/udns: Fix detection of inet_pton and inet_ntop with clang 16 Closes: https://bugs.gentoo.org/883285 Signed-off-by: Violet Purcell inventati.org> Closes: https://github.com/gentoo/gentoo/pull/31806 Signed-off-by: Sam James gentoo.org> .../udns-0.4-configure-pton-ntop-clang16.patch | 22 ++++++++++++++++++++++ .../{udns-0.4-r1.ebuild => udns-0.4-r2.ebuild} | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch b/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch new file mode 100644 index 000000000000..5eb0010092a8 --- /dev/null +++ b/net-libs/udns/files/udns-0.4-configure-pton-ntop-clang16.patch @@ -0,0 +1,22 @@ +Bug: https://bugs.gentoo.org/883285 + +From e39b749619191226ccbf8730084c0d2dcadc9065 Mon Sep 17 00:00:00 2001 +From: Violet Purcell +Date: Sat, 8 Jul 2023 18:34:11 +0000 +Subject: [PATCH] Fix detection of dns_pton and dns_ntop with clang 16 + +--- a/configure ++++ b/configure +@@ -94,7 +94,8 @@ int main() { + char buf[64]; + long x = 0; + inet_pton(AF_INET, &x, buf); +- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); ++ inet_ntop(AF_INET, &x, buf, sizeof(buf)); ++ return 0; + } + EOF + +-- +2.41.0 + diff --git a/net-libs/udns/udns-0.4-r1.ebuild b/net-libs/udns/udns-0.4-r2.ebuild similarity index 90% rename from net-libs/udns/udns-0.4-r1.ebuild rename to net-libs/udns/udns-0.4-r2.ebuild index f8f8c3675854..a963d2ac18b4 100644 --- a/net-libs/udns/udns-0.4-r1.ebuild +++ b/net-libs/udns/udns-0.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,6 +16,7 @@ IUSE="ipv6 static +tools" PATCHES=( "${FILESDIR}"/${PN}-0.4-configure-clang16.patch + "${FILESDIR}"/${PN}-0.4-configure-pton-ntop-clang16.patch ) src_configure() {