From nobody Thu Sep 07 03:44:02 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 4Rh4q70HjLz4s3Xh; Thu, 7 Sep 2023 03:44:03 +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 4Rh4q66vQTz4SsS; Thu, 7 Sep 2023 03:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694058243; 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=dyLoP0t2gk64gZR54WVHA1VLO0LaBNZk3TfJU70/vtI=; b=gfhd1L5XJqDXq/aGUlZnWjieZhSq23/B8t17lxGBMlqa9+e+ledrMXekFvisMCA9W7VIYe iey1lgvbswsM7hV1UX20ABiD5A0F7wgQ6sPx5t0hZcKta8tdk6F4wOSMQd6FvLDTYzMY81 zYxcnLz25MJBqNgYDpnIa397DYqYNYg3nBFRdaZSG2/jp6mohpfBufjlZasVY0Lj8JAwBD JxPvM8IuGU15ZryMbMfjo+8y4iKv0JYpWje0QVqY2O/QkMKhjWcoJtKc/eaXzsvj+UaghZ 9PZLS37n2OnMbgwaWjPzdXXf1hy6g/nEmWNMwekdWAh/1UD/NLg0Qmj9hXxNrg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694058243; a=rsa-sha256; cv=none; b=JekR0ifWd4xSNLZYyi4IVUSMP73Y2JMj0sHYgNWD2n7mUrkGo8UY+RjkhSWgnNDHgiV8vt TlIZd1YAOlg17Bh9d4AuvtcHeSH4QIh63MePf6hE6n7ZNOms77niuBA78+wWO3WcFZpUvZ MqHBfeuqBXUGbHDPt4Mt3lMyAaxxIBE4C7e+visO5iORCb0h4/rJPPDfFTyIclcBM833M9 HQZqgApgnMOa1qnd0W88Xv8Y5M6L6u30ejNM5DG246xhdyrvTV8ZaVGYKPfPa6psp1Ftmo 6rkfoumRbJwd8rV6v0va3D95Z4igbTt9sdpeSp5h1013HxPP5sVrsOTv824aLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694058243; 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=dyLoP0t2gk64gZR54WVHA1VLO0LaBNZk3TfJU70/vtI=; b=r3uiCYCw+tXxFlVXOXELY6elqPBFdyggY1z4Vu7szh5EH4aZLsWlSfCNH8ab99divaiGs8 E0MxEXFCwP7zc5Ht+oqJJVnjWQYPFgCRkbMaB7+T28IMz2+snWA5xav3XkNSzgyAWbWzGu e51IT5ulkqRE8qJYAn8joWFw1WSaNePbqME9tPA/jBysaSuBWFf/KC9WnbDX4mCJ7H5I3l pFXkqnWcnP151oTCo3q/JxzCaOtRjLygq1VpxJUuBw2p2EsHWfnZAP1sYXh+DmsBeRu7CQ yP+NAR3duvJ5QlniOVh+8hnYDob+broAt8f0PZeon9q3EjTU1fa9iXwtlNNtkg== 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 4Rh4q65dMpzkH3; Thu, 7 Sep 2023 03:44:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3873i2Nh005119; Thu, 7 Sep 2023 03:44:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3873i2To005116; Thu, 7 Sep 2023 03:44:02 GMT (envelope-from git) Date: Thu, 7 Sep 2023 03:44:02 GMT Message-Id: <202309070344.3873i2To005116@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 0c99972d03e6 - main - dns/idnkit: try to unbreak the port's build on fresh -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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0c99972d03e64be2004e412ee4895d0ec976234c Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c99972d03e64be2004e412ee4895d0ec976234c commit 0c99972d03e64be2004e412ee4895d0ec976234c Author: Alexey Dokuchaev AuthorDate: 2023-09-07 03:43:00 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-09-07 03:43:00 +0000 dns/idnkit: try to unbreak the port's build on fresh -CURRENT. --- dns/idnkit/Makefile | 2 -- dns/idnkit/files/patch-configure | 73 ++++++++++++++++++++++++++++++++++------ 2 files changed, 62 insertions(+), 13 deletions(-) diff --git a/dns/idnkit/Makefile b/dns/idnkit/Makefile index e46ea97a415c..4aa477bdbf45 100644 --- a/dns/idnkit/Makefile +++ b/dns/idnkit/Makefile @@ -14,8 +14,6 @@ LICENSE_NAME= Japan Network Information Center license LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_FreeBSD_14= fails to configure: can't build runidn, since parameter type list of getnameinfo() is unknown to configure - USES= iconv libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} \ diff --git a/dns/idnkit/files/patch-configure b/dns/idnkit/files/patch-configure index 8f83b45f582c..1443b00b0d0e 100644 --- a/dns/idnkit/files/patch-configure +++ b/dns/idnkit/files/patch-configure @@ -17,18 +17,27 @@ ;; esac -@@ -2633,7 +2633,37 @@ fi +@@ -1082,7 +1082,7 @@ cat > conftest.$ac_ext << EOF + #line 1083 "configure" + #include "confdefs.h" + +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:1088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes +@@ -2633,13 +2633,43 @@ fi ac_cv_flavor_gethostbyaddr=unknown else cat > conftest.$ac_ext < -+ #include -+ #include -+ #include + #include "confdefs.h" + + #include + #include + #include + #include + struct hostent *gethostbyaddr(const void *addr, int len, int type) { + return NULL; + } @@ -53,10 +62,16 @@ +else + cat > conftest.$ac_ext < -@@ -2675,6 +2705,10 @@ echo "$ac_t""$ac_cv_flavor_gethostbyaddr ++#include "confdefs.h" ++ ++ #include ++ #include ++ #include ++ #include + struct hostent *gethostbyaddr(const char *addr, int len, int type) { + return NULL; + } +@@ -2675,6 +2705,10 @@ echo "$ac_t""$ac_cv_flavor_gethostbyaddr" 1>&6 ac_cv_type_ghba_addr_t='const char *' ac_cv_type_ghba_addrlen_t='size_t' ;; @@ -67,3 +82,39 @@ traditional | none) ac_cv_type_ghba_addr_t='const char *' ac_cv_type_ghba_addrlen_t='int' +@@ -2712,7 +2746,7 @@ else + int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, + socklen_t hostlen, char *serv, socklen_t servlen, + unsigned int flags) { +- return NULL; ++ return 0; + } + int main() { + (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0); +@@ -2744,7 +2778,7 @@ else + int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, + socklen_t hostlen, char *serv, socklen_t servlen, + int flags) { +- return NULL; ++ return 0; + } + int main() { + (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0); +@@ -2775,7 +2809,7 @@ else + #include + int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, + size_t hostlen, char *serv, size_t servlen, int flags) { +- return NULL; ++ return 0; + } + int main() { + (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0); +@@ -2806,7 +2840,7 @@ else + #include + int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, + size_t hostlen, char *serv, size_t servlen, int flags) { +- return NULL; ++ return 0; + } + int main() { + (void)getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);