From nobody Fri Feb 24 10:36:08 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PNRBl5r83z3tpZR; Fri, 24 Feb 2023 10:36:15 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PNRBl5J8Xz3myS; Fri, 24 Feb 2023 10:36:15 +0000 (UTC) (envelope-from mat@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677234975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+zpKjfEtWboIZtilQe4G+oRALu+ido1Wdfsw6SWVhPg=; b=ickOpMiUb6KeCTotLvwYPuG0gmTCAxpzKUiav0Q0xGnNrPNks56SgbEEN94KHWntmxBxPx 4FH5GynWqqiewHrySM5rO31WRpCWPjPr4YkNiwp1IHAh5JSbHFQ7shfoJhMqCB7D93SBwa GDeOHAkAB98PJzhTGZNC5ZV57oM0/f80LgwpohoPz5JbYRfGUf7gmWDBiqAqOY3NwsresP g/NJrFE9aSwjoeRxKLgxhDwfXNuuadv8W3Um955E5SFNp/xo6rQm7HsdKsljFyx+NubaNl kuY2N/vSb2FFPGOUNrgDIkkU+wMih5ok4X/s4rkc/FgDaSNj/v0wmthcC0Jmaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677234975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+zpKjfEtWboIZtilQe4G+oRALu+ido1Wdfsw6SWVhPg=; b=FYCI7DE77utjWHwaiexFnhu457S6IRv9Sp6Zbf+TL7IbNOUMrzA7kRaACwTkqHqExNmhM2 Oi0ESxyriX/SEaBBRt5z9TeYS2WX2key50MZ5puGWQHcXTNlu8eedMcVlYIrncK33v0W/I yZNIy2HcqS4uxvRl5NyJ21+N/6I4ieExDYa4CEkco7X0l20hAPK6eNYzE6C75IPJ85j5Tw HoLyb77V/5r1BZlFmr80P8uUjyyO8x40aakBXPpOkwHD3C8D8RcA9eArV9iVbClc1tY46d Di6A/9G7hA3TvaslEdXrG8L47GCo/kXIb1QO2pNXVJ2vcf6zDuEyRlTgqI2rVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677234975; a=rsa-sha256; cv=none; b=WkERJ0/h5eOVRnCrXv5rnyB7u8/HOSMeftKqc7Byw4Pq+kLMTpvN+SfFJ8AKo1EyZ6+NBG sIqpFOCX5liDyPYplRflugVcY7nOz/10+TAZHyzk5PRuay0JqMh4hm5Uc32v1Foojs993+ lJpHk7qcPm3axtDea8V6vSnaL+iBfkEPHNLUBED55SHptaJtl5ypyP4Uah/Pp14LGKk8ED pPE6zH1QGkExT3qOvldvQ1ZEBv7SYL0LwX8YYLU9JlivoNWfiUTNbk7Vb/qDluttvxhoTX M2rnhOsV1rE8sVI7ftUFxRYGRlHKxI1cHapZOWJS94WMl8LOhuHWP5Rs6ApErQ== Received: from mail.j.mat.cc (owncloud.cube.mat.cc [IPv6:2a01:678:4:1::228]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PNRBl31jgztxy; Fri, 24 Feb 2023 10:36:15 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:e0a:836:f670:9023:3906:aeb1:b1df]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id B111A942D80; Fri, 24 Feb 2023 10:36:10 +0000 (UTC) Date: Fri, 24 Feb 2023 11:36:08 +0100 From: Mathieu Arnold To: Martin Matuska Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 956aa4e270bf - main - dns/udns: unbreak build on 14-CURRENT Message-ID: <20230224103608.xpbofeby6sb6zhlm@aching.in.mat.cc> References: <202302241022.31OAMhrK091276@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="64y3cjvtd7jfvgpb" Content-Disposition: inline In-Reply-To: <202302241022.31OAMhrK091276@gitrepo.freebsd.org> X-ThisMailContainsUnwantedMimeParts: N --64y3cjvtd7jfvgpb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 24, 2023 at 10:22:43AM +0000, Martin Matuska wrote: > The branch main has been updated by mm: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D956aa4e270bf746d69ee77c8= 497dae2d28376cb4 >=20 > commit 956aa4e270bf746d69ee77c8497dae2d28376cb4 > Author: Martin Matuska > AuthorDate: 2023-02-24 10:09:28 +0000 > Commit: Martin Matuska > CommitDate: 2023-02-24 10:22:36 +0000 >=20 > dns/udns: unbreak build on 14-CURRENT > =20 > Fix detection of inet_pton() and inet_ntop() > --- > dns/udns/Makefile | 2 +- > dns/udns/files/patch-configure | 27 +++++++++++++++++++++++++++ > 2 files changed, 28 insertions(+), 1 deletion(-) >=20 > diff --git a/dns/udns/Makefile b/dns/udns/Makefile > index c391036d15bd..ec3bcd299dcc 100644 > --- a/dns/udns/Makefile > +++ b/dns/udns/Makefile > @@ -1,6 +1,6 @@ > PORTNAME=3D udns > PORTVERSION=3D 0.4 > -PORTREVISION=3D 1 > +PORTREVISION=3D 2 Why bump PORTREVISION? > CATEGORIES=3D dns > MASTER_SITES=3D http://www.corpit.ru/mjt/udns/ > =20 > diff --git a/dns/udns/files/patch-configure b/dns/udns/files/patch-config= ure > new file mode 100644 > index 000000000000..ca6971268eae > --- /dev/null > +++ b/dns/udns/files/patch-configure > @@ -0,0 +1,27 @@ > +--- configure.orig 2023-02-24 09:54:25 UTC > ++++ configure > +@@ -83,17 +83,20 @@ else > + fi > +=20 > + ac_ign \ > +- ac_yesno "for inet_pton() && inet_ntop()" \ > ++ ac_yesno "for working inet_pton() && inet_ntop()" \ > + ac_have INET_PTON_NTOP \ > + ac_link < + #include > + #include > + #include > ++#include > + int main() { > ++ char addr[sizeof(struct in_addr)]; > + char buf[64]; > +- long x =3D 0; > +- inet_pton(AF_INET, &x, buf); > +- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); > ++ char *localhost =3D "127.0.0.1"; > ++ inet_pton(AF_INET, localhost, addr); > ++ inet_ntop(AF_INET, addr, buf, sizeof(buf)); > ++ return strncmp(localhost, buf, sizeof(localhost)); > + }=20 > + EOF > +=20 >=20 --=20 Mathieu Arnold --64y3cjvtd7jfvgpb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmP4kxhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1 NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d Qb5ohAv/QJiLt5S4Dm99XMPa6lNWkut1Xq3JlU10z9VXAERl5gxkAQkgOwlJOoIE fgSemSGSy57SFmoCmnMdRsoqCPKdbTtUcrxKhFqhcLYOgF1+aOK0PC7Sr8tWFLlt wUEW8Z47pjcFirCv+P8uoSeMDvDFfpgy6ISyrZHf7Mi/QBt/dQrU5x80npT6o7uj Ns+E8pv4LlqgKTgETFBbD7zyS4z5iDmm1MUFAaE9KbZALae+bVPXUPPBsbYeLirk srDTmoAfsUex5zB8xXQ8CHMBWdj8UdD4qBiKVp6nUkZ/yFu/yoaC89Qni9vntyOP c0mxoWlkQkM+bS13ruVvd2P3ErUZ/81HQiQCsA4mw03NUDp4W376j85ImgB3nI91 R7Zs0XH5nEcslPZBDjTb6OvavW/axOLtHB6ICMu3nigqrzELu1bmtDamUnS/czhC Ywht628tGHWoB1j2iikBoNx42V7OX5XGIjHCrnS0ZuZLaP82xzqXMB5+eUCu70H8 SPb22FXU =wLRC -----END PGP SIGNATURE----- --64y3cjvtd7jfvgpb--