From nobody Sat Feb 11 02:53:00 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 4PDFXF1cdDz3pf1v; Sat, 11 Feb 2023 02:53:01 +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 4PDFXD6npgz3Ftc; Sat, 11 Feb 2023 02:53:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676083981; 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=SzexY8gdNTOyWP6pgjH+CNeNzSwlfpfvQ5HfaEY6gqo=; b=D78/anpswWnVOdAqFT3cY/PP3+6h8N0FCve8iArzPIDYnA0ON0NUbxJl3QFAS1rE31BLpV G+3MdVCwT9dnCAIWaCjf5l12+Uun5PIwMilpT3x7yFgvhbXi27E6MND+IsSKCteJf1Jx6n UTs6in1TCDi0fXvOypYvyYk2s9gAZEokGg0Sh8nFVofYmq/9gHn8SsosADAarWbnr2Wg9c p/8e33ZbStQXCYOOMyMR8/V4vw9k8ago4NqP+v2RvNSf5Y3wwBrSy7Qvj0pPqPEozGyCXD +Ayrbo7lhf5TZBp3gufzaojTHA0HVs6e8vjmUaLocBxBygPlQpxaZPlygSG21g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676083981; 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=SzexY8gdNTOyWP6pgjH+CNeNzSwlfpfvQ5HfaEY6gqo=; b=BrW4yb3zYhmzY82/Rij13YnDCBoY3f4Q2Wbu8Sjp6YT6/eDmROoHEOqNmZDnenogJlpvvu Icv/40hDKxRSY0A3fuJJlOMK3+80kjNuZvQccPkScnkp5n4MTb9KqTQPYc22DM4CrUDmFV Y/AafXiH0gnaqbvj3940x7I0LVpzclWK/hLstXWW0VsjCpHECsqrVYteJv6D0PrIWG5pc0 /WYcEkjXk8tVt/aejBKRWmP1jjz/e7KXl/FpK2lnmdbLEFimKwkIm1Uqa7sLwvAjvvuKAE YuoxGM6FWZNSoLzq7nEwh+Gs8jMLA/59Q+eKg0kM/TpnnLMTUymxk/aQzxJQ4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676083981; a=rsa-sha256; cv=none; b=a+4oADc/EK8Gjo89VROAoBG8yddQ/S1uqL4nsMgqINGlOzKxIig3TFOhe85NT2oP+xar90 0BM1ekYHhv9iSZo8OTSOfJz49pGYcy09GUt78A9GSO6bvXUyjX7V+uZ/2XsqOaH7imiALt EuBeot5SRuMr8lN+wWgyNYXPJ/3nbvf/s72Ek8U/FA77N2OMwzk8W1K9c6ZPeoDLORO38v alazwsepXWYMlZ1NIKbfkoltbqdmIImPaN1RZxLm+7hbXt1MZibB++aQ7+9J5YPd0rO1Bd jFyYo41YLTu0/pPmlGcbk3WSfPwvCxgHASCep8bgeB8YkZczCADjKzvkJSmr1g== 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 4PDFXD5rZ5zjJL; Sat, 11 Feb 2023 02:53:00 +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 31B2r0rY088834; Sat, 11 Feb 2023 02:53:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31B2r045088833; Sat, 11 Feb 2023 02:53:00 GMT (envelope-from git) Date: Sat, 11 Feb 2023 02:53:00 GMT Message-Id: <202302110253.31B2r045088833@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikhail Teterin Subject: git: a162c35141e1 - main - www/tclhttpd: deal with the new clang's hatred for K&R 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: mi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a162c35141e13918488b9924b82f5b7cce591260 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=a162c35141e13918488b9924b82f5b7cce591260 commit a162c35141e13918488b9924b82f5b7cce591260 Author: Mikhail Teterin AuthorDate: 2023-02-11 02:51:58 +0000 Commit: Mikhail Teterin CommitDate: 2023-02-11 02:51:58 +0000 www/tclhttpd: deal with the new clang's hatred for K&R --- www/tclhttpd/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile index 189e31b1c910..9a0851097447 100644 --- a/www/tclhttpd/Makefile +++ b/www/tclhttpd/Makefile @@ -13,7 +13,7 @@ RUN_DEPENDS= dtplite:devel/tcllib USE_RC_SUBR= tclhttpd -USES= tcl:tea +USES= tcl:tea compiler .include @@ -44,4 +44,8 @@ post-install: ${FILESDIR}/pkgIndex.tcl >> \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION}/pkgIndex.tcl +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150 +CFLAGS+= -std=c90 -Wno-deprecated-non-prototype +.endif + .include