From nobody Wed Aug 2 16:22:36 2023 X-Original-To: dev-commits-ports-main@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 4RGHM337zTz4qj1Z; Wed, 2 Aug 2023 16:22:39 +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 4RGHM10xTtz4FCQ; Wed, 2 Aug 2023 16:22:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690993357; 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=O6xxJqDUr/X8Q9pEA6GSOZnbbQb1XHtUKSSKkG0iL9k=; b=SBNayq5PzJMPoffWKFXxdaFLNXsRMXo3ofe+jEOe53/lsv1Futgp7GqhjqPL7DrgdOEwDo Hb2LDqU6MOgu4eWSpQzyWk/IeAIokJfVVmA8EJJ6q4XFb6UU73NkoVE1tflPSV41fxmCn8 0G1mv9gCyRW7l+EP8r2epoA7OZywkD2eYBqOvhD/U89uq2vJkCV37Qtdh9ycNLGuuOYx5s 0JX9JKZHru8Xx3HI2th92FfLyTA6YR+kvllQ5eOx6UWjCxQvnrOlBkLZm9CcNbrWUZeVdM sbDH/Bh/W8SGjLCT+s8qsy7/LUc5LnnppKtHTgdDTe9pCHTTmj92ka/ocxE9fQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690993357; a=rsa-sha256; cv=none; b=PKJ+jfIkOXcg6kvJ5t14tUoB7YlDfOP6Me7Du6Cp/Np/8YLhvtTrP9ZIHKBmjuVNNTRrDB PyPfUabLGRF/PWuGwvPdjVR+SMyl7sKztn2wuIvl0rx7ua+YFXh/iDFsbJbpyRtkdrRiZ3 wG8AaPmwpsZiOjYFY8aa2cxDGhAd8d/IIuQGCKOKLOoNaJ514WyDjUJk7IFU7QOivqHfn7 61dwMNn5udGKv/eioHiXNVoKkYur5LDfxb1Ch9fnTeIwwQepjz10LcDLONlSgclzYIwUo+ 6ZEDk9yCiUraoO43ZsM2/UwkmGJWH1a1pzpJvkVIoOQ9TMOCsdveKwVyVQAV8g== 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=1690993357; 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=O6xxJqDUr/X8Q9pEA6GSOZnbbQb1XHtUKSSKkG0iL9k=; b=erYlWfOY3FpGamv+NuezXb/DDKlgE50In1C+DbudNcxeSMQ4qe00By8qKOV9sMzcxWGRer oUfaxpS1I+YAE+tnXD32NnlAlodwuXF+jcDgFCLf8xYYCDzgy8yU8e7lZ0tRI60BITCsAe bquJuyBt/dFF64DayAqHL+1tmpfP3/OZ7RYneBc8SGHpcH1VBXDdKxMaXl0E7hGXhZZ5HF gOlZ13K7NVurA1RzXBb5vO60amhcDk7ZHCuTq9hLaXtKINXfwqYW+kvrmTuUQxs9Zl9Hg/ /7VTuqvuK2VovW7NvLJhPhDXjQJ0Hu0+Dm84iSSBoLDSJwFBjwSQe5GeBU15aQ== 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 4RGHM06nDWzR4X; Wed, 2 Aug 2023 16:22:36 +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 372GMaSd035955; Wed, 2 Aug 2023 16:22:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 372GMa7X035954; Wed, 2 Aug 2023 16:22:36 GMT (envelope-from git) Date: Wed, 2 Aug 2023 16:22:36 GMT Message-Id: <202308021622.372GMa7X035954@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: faae7b2bfefd - main - irc/ninja: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: faae7b2bfefde7220d86633aec6042c22a82a20e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=faae7b2bfefde7220d86633aec6042c22a82a20e commit faae7b2bfefde7220d86633aec6042c22a82a20e Author: Muhammad Moinur Rahman AuthorDate: 2023-08-02 16:21:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-02 16:22:20 +0000 irc/ninja: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- irc/ninja/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/irc/ninja/Makefile b/irc/ninja/Makefile index a135e5505484..f6f1e7c3e511 100644 --- a/irc/ninja/Makefile +++ b/irc/ninja/Makefile @@ -13,6 +13,12 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= IRCLIB="${DATADIR}" MAKE_JOBS_UNSAFE= yes +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ninja ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ninjawserv ${STAGEDIR}${PREFIX}/bin