From nobody Wed Aug 02 16:22:30 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 4RGHM26Grzz4qj1W; Wed, 2 Aug 2023 16:22:38 +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 4RGHLt3TP8z4DyV; Wed, 2 Aug 2023 16:22:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690993350; 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=0bfhfg413ufdTenCSuOQ4z9CxTfEwt54418N2fPvDuY=; b=HNynCBG+lXm40Lc/QFe2oE5rlkxcRMqnpH8G+Oix/eW1AH4EkY05EurrtAzpB7l/ZJ9Lkq jJB30zSodt1uuDX7m4NgflwgOw+24dKm0SKNQzL/rpDB5RD/NR38vl7TyG+h9ohpwgN7KG /Y9e4P+wD+YZrvkOzpH4umcrBmXR30HpXxms6zomipl0NxOKZMtdxj2rCCse99tXwQ61Ei fGUAtB7fhm83pu190bDPeNCK3ArGaBDkj9i54o2B0h1T5/wJWZ4U1RCME735kjA8kjBJkq tKdbRC3ZSE1KK2Wfa/EIwbVHSLDFGOPVEe/udTI/57J6siw3BGN/sArye+TGNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690993350; a=rsa-sha256; cv=none; b=od2fHs3vryjt68RG76al5U4STXXxTYPuBQwr/jGsTah/P0txpWNXZEb8D7oEWDUqN+pW1+ O7EBJmm6H+1ua6FHIO5evbTuSfemmORc3McMQS6hN3LwJLB2D26d8cMW08GCfRM7zClJPA gS/WNuPMSBoarTD+/u5i8dygXdzmAJPTKL2NBkgboYLCb3fo/qxC3j+O+takYs/CG4MspJ Jg0P4QhX2mKGW2B+jsSt4adsdyYd/gnUaBt/0cXtWrXFSeup5Er5d4U9wo7mcdATZtaRaG O8Oer8DpWw/5yw4sek2D5eLmb1TumxqiU5HmvrjpZT6W7gylkmntLid2no17Og== 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=1690993350; 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=0bfhfg413ufdTenCSuOQ4z9CxTfEwt54418N2fPvDuY=; b=mwDsFzkURWJ0Vp67SXAnv6L6CTAShLxkdcl8y7nre5dpDjYT3dEi/yPnlbutaeX7N3/zdc 3nFKjtvmXuyQiNeJ5jBr485C69VKQ9WJ4S8ATZdvTvGSfMHcOw5BnAxPDkX0EGn6aD3902 6nZgWP+4sq7IM2nFtLxCcHc0EGj7wbni5upJARQ/FjEWfBCED/infFd1kt+y/WshXlQGYz s0Q9+hx4jO67g84Yn1M7HzN3cME6iDFlwSgoOGNSwX+hNjlFIFf7HmiA1eCC646zGwIxHB jKKgACTMDteJvcy59UUcfTy4iCi1mhb53HVdaJJlisjmuSssWaBrb324GW4hIQ== 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 4RGHLt127lzQfj; Wed, 2 Aug 2023 16:22:30 +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 372GMUuq035813; Wed, 2 Aug 2023 16:22:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 372GMUOU035812; Wed, 2 Aug 2023 16:22:30 GMT (envelope-from git) Date: Wed, 2 Aug 2023 16:22:30 GMT Message-Id: <202308021622.372GMUOU035812@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: a4135938b101 - main - editors/e93: 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: a4135938b1019a9defb46b5edf128b019073ac5b Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4135938b1019a9defb46b5edf128b019073ac5b commit a4135938b1019a9defb46b5edf128b019073ac5b Author: Muhammad Moinur Rahman AuthorDate: 2023-08-02 15:47:28 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-02 16:22:19 +0000 editors/e93: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- editors/e93/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/editors/e93/Makefile b/editors/e93/Makefile index a30514741c22..43a60b90a1ea 100644 --- a/editors/e93/Makefile +++ b/editors/e93/Makefile @@ -20,6 +20,16 @@ PORTDOCS= README* TODO OPTIONS_DEFINE= DOCS +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g' \ + ${WRKSRC}/xgui/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/e93 ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/e93lib @@ -29,4 +39,4 @@ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include