From nobody Fri Feb 24 10:22:43 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 4PNQv7507mz3tnfc; Fri, 24 Feb 2023 10:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PNQv74NLdz3lZK; Fri, 24 Feb 2023 10:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677234163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VkLKbdaVX9AzQxI1jdpmnxBioT3VncDQPgmNl8MYZ3k=; b=yGdreC1BTG9XuSBDcSy6sdYxDzZzmZ3Hn4+EdjqVVXwJz3B4IAvBMgHqjzG4/TqWvS28u4 f+fEXIxr2dgbCLc8ATGpCBJg481vqdP01Tx18qgTggBq35RB06vkx7g+m9KNBDyqqdhFMW Av79YrdqRpHbxTPhiF0nVPTWHLiwr2mrpaQc+1yZWFXg3ao0KgmlFCUyXyGoGmoZLAn/CR 2jAvOdkP7c59W+JlgUjg5YJ5GuOuaujwDsG1r39BapbPHPky3Q4IqKbhoeSr0P51HpMX5l mDhstyhLPacriguiY/91ry2k/WPYZhDmpQhBVphVyVWfLeJrpuFb03rBMJNezQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677234163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VkLKbdaVX9AzQxI1jdpmnxBioT3VncDQPgmNl8MYZ3k=; b=rUrfibGOKhMfpmvzXy4pHXPA9e8m7k9p6jOwE1/TwOvYkhS+GED4N7FVHbtcjBXsx2D6a7 zFghmppLF4EsCKT2ASR+wrri42lLmDotqF6XPlpv8TfeIOuW/0ml6w5bxI5yeCW/VpELGz aYfdOftwukMY6MhSVtTaBHlzMimI8JUSlY7JzhTbFuthNDIva96nV/K031juGfL4MxB0D1 QdfylAruqTRdo0+AZ/nTGAbu8jk0xgJIWFYxPibWSeDqtAUpAn5IMByQ6xcbLGcRFPbkM9 Zf7EpAA4mmykuemJfJbm2hakAgAK7TyZwnGcEWxEonjqktZAK1YcfQb7T5jgoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677234163; a=rsa-sha256; cv=none; b=BQH+abwLvCKfjI7DxwAYO1evzSlHZLNhnJPbHTYv8efU3mRIL5x0+qF9IRku9OQT1nBWLM yf6PE54HCt0es2RD/0Ol5jMz7Ogtc7uj/iGyxxaj8vQ/m1d6U1meSnOEi+ba/2NvA2wN+w +Wqn2NorimuqoVe4hZTsq4WZNggmGKFXfkfd/MceRBh8i2mipwdO7w2ybKT1WBJ5vdZSvb LmDU6MyTZxBcRdWa16e/0EWa/DLLXywr0XUPMLgT4XCl9kUJhTjm5MPgEULXOEtUJmAyMY ZBfGauVfxN/1HX1zLWhWPpVkTXeKkiGoTKkuaRjQFQ3eIF8d3hTwqt1h1RClIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PNQv73R2JzKv4; Fri, 24 Feb 2023 10:22:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31OAMhsB091277; Fri, 24 Feb 2023 10:22:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31OAMhrK091276; Fri, 24 Feb 2023 10:22:43 GMT (envelope-from git) Date: Fri, 24 Feb 2023 10:22:43 GMT Message-Id: <202302241022.31OAMhrK091276@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Martin Matuska Subject: git: 956aa4e270bf - main - dns/udns: unbreak build on 14-CURRENT 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: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 956aa4e270bf746d69ee77c8497dae2d28376cb4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mm: URL: https://cgit.FreeBSD.org/ports/commit/?id=956aa4e270bf746d69ee77c8497dae2d28376cb4 commit 956aa4e270bf746d69ee77c8497dae2d28376cb4 Author: Martin Matuska AuthorDate: 2023-02-24 10:09:28 +0000 Commit: Martin Matuska CommitDate: 2023-02-24 10:22:36 +0000 dns/udns: unbreak build on 14-CURRENT 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(-) 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= udns PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://www.corpit.ru/mjt/udns/ diff --git a/dns/udns/files/patch-configure b/dns/udns/files/patch-configure 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 + + 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 + int main() { ++ char addr[sizeof(struct in_addr)]; + char buf[64]; +- long x = 0; +- inet_pton(AF_INET, &x, buf); +- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); ++ char *localhost = "127.0.0.1"; ++ inet_pton(AF_INET, localhost, addr); ++ inet_ntop(AF_INET, addr, buf, sizeof(buf)); ++ return strncmp(localhost, buf, sizeof(localhost)); + } + EOF +