From owner-dev-commits-ports-all@freebsd.org Thu Jun 24 12:54:33 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED62664BF9A; Thu, 24 Jun 2021 12:54:33 +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 4G9g7s689Cz4SgV; Thu, 24 Jun 2021 12:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BAFD518176; Thu, 24 Jun 2021 12:54:33 +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 15OCsXBr098757; Thu, 24 Jun 2021 12:54:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15OCsXix098756; Thu, 24 Jun 2021 12:54:33 GMT (envelope-from git) Date: Thu, 24 Jun 2021 12:54:33 GMT Message-Id: <202106241254.15OCsXix098756@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: caa9499c7c7e - main - www/unit-perl: fix failed build on -CURRENT after clang12 import. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2021 12:54:34 -0000 The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141 commit caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141 Author: Sergey A. Osokin AuthorDate: 2021-06-24 12:53:12 +0000 Commit: Sergey A. Osokin CommitDate: 2021-06-24 12:54:24 +0000 www/unit-perl: fix failed build on -CURRENT after clang12 import. --- www/unit-perl/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/unit-perl/Makefile b/www/unit-perl/Makefile index 725afb62fefb..526a7fed4bb8 100644 --- a/www/unit-perl/Makefile +++ b/www/unit-perl/Makefile @@ -16,6 +16,11 @@ USE_RC_SUBR?= # reset to empty MASTERDIR= ${.CURDIR}/../unit +# Fix build failure on clang12 +.if ${OSVERSION} >= 1400023 +CFLAGS+= -Wno-compound-token-split-by-macro +.endif + post-configure: cd ${CONFIGURE_WRKSRC} && \ ${CONFIGURE_CMD} perl --module=${UNIT_MODNAME}