From nobody Sun Jun 25 21:43:14 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 4Qq4GW5xmpz4gD1j; Sun, 25 Jun 2023 21:43:15 +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 4Qq4GW4srMz4GZN; Sun, 25 Jun 2023 21:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729395; 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=Qo/o5AIXU8mByZpaO6VrOiM1avBpM9yz4DejK4d4YxM=; b=vK1qW3DGIYH5f7eZM32TN0gA7JlXOyb7wn9VdMEsW/sm+rr+SzTcLZihqQNnDNdC88mzCi OmBCCWgTeCHtbioQ6cM8vOQ1sECcSmZdCIii29jTHOKb2X4LKq7auH/G0zoki8RXr5ODmd 0D2VV3vB8oBKGFoF6eUQl0ZEXYvPyxBGputzL/Oaw/AYfxUFFiz14eECr2kW4TjRMJ9uog fe2u8n94l4PCmm+R9ZjnYxp155NXzCr/XGXPYkAvvsq5L1dlK/Ij49zyolMrACi19kYPM1 WWYpfCo5LgodZabMG5npK7iHlAcAVbzyMeGYYNWvu2aCIeF9OZySGtxEM+9g+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729395; 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=Qo/o5AIXU8mByZpaO6VrOiM1avBpM9yz4DejK4d4YxM=; b=CcJKNlGAGh0ixFnKuYUKgjQ+JfKe3vBE+qUizKgbhVDqshclJqiOHb1vtvg9vNfh7nxbHY RZ18iQTLNnWcMJVfuY/OvcklFSDccmYDrAjN5FvSo6/f6h6MrHE42Ektp/xA5GVfwkwvDo xa4sPreFxOyZvj5DTqW2Yck5vOijGm3UU6repxH22kUjJYY+DetQMZ/qXYQSdzR34u3eq+ 1tL3yJVU0qVhRAfqGC48d7IWVNKlgIvAOmegKQCL6cvvUHjtEAR0xBpXihqqb/u3aKJQhS fEINthyshbUxVtk4xdSEx8Xxu/6HW4v01tVlOpv43YSg2PHgoeR/xsLA7ltlMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687729395; a=rsa-sha256; cv=none; b=fKv7mc+X36BFaz6K5u8RMcSubNLxsYMxYEf0cXDjZxMqP60z2zJjMeYtq8Qzv8FpRx+C9N jmcdGdh6/JK7s0+LHDTeqDL19xiIxsDeC6XTTpLdzCx8nU8TmjlbyFjzP5/S+zQ/U4fWQC Fz+EPTFyboXrx8jDictS/tVVjuEytixS0Yp3/zg/jIbM4CeOdysBj+DYIdAsULy0phgYC5 Woy5yjVEY4YsOfq6sxLXwrsyHYAPXIAf8qBGZy75PVwsth0ehCD0gmg1hzJVhiuZq/LgLG eQBh9CuOxod+rtaCc5XettHxodr3X9a4b9lTkYEB09v5FxaK/joXW7S8GndHww== 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 4Qq4GV42kLzkfM; Sun, 25 Jun 2023 21:43:14 +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 35PLhEIR057022; Sun, 25 Jun 2023 21:43:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PLhEJ2057021; Sun, 25 Jun 2023 21:43:14 GMT (envelope-from git) Date: Sun, 25 Jun 2023 21:43:14 GMT Message-Id: <202306252143.35PLhEJ2057021@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: 010f15d5b460 - main - devel/antlr: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 010f15d5b460e21c3fdeed93e13ef04adc968f6c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=010f15d5b460e21c3fdeed93e13ef04adc968f6c commit 010f15d5b460e21c3fdeed93e13ef04adc968f6c Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 21:14:01 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 21:42:45 +0000 devel/antlr: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/antlr/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devel/antlr/Makefile b/devel/antlr/Makefile index b13b80d7a9b2..12e84da2e33f 100644 --- a/devel/antlr/Makefile +++ b/devel/antlr/Makefile @@ -35,9 +35,17 @@ PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \ OPTIONS_DEFINE= DOCS +.include + post-extract: (cd ${WRKSRC} && ${CP} antlr.jar antlrall.jar) +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|binary_function|__binary_function|' \ + ${WRKSRC}/lib/cpp/antlr/CharScanner.hpp +.endif + do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/antlr.jar ${STAGEDIR}${JAVAJARDIR}