From nobody Sun Jul 23 17:54:35 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 4R89sl4LkYz4ndGd; Sun, 23 Jul 2023 17:54:35 +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 4R89sl3Zm0z3DhF; Sun, 23 Jul 2023 17:54:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134875; 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=rTyW5dN+4fzD3JDT1R3afb5kb9lw71bMUnsWhHBgOno=; b=hTCdA/u5DtF6s2eSlZ9jqVXRBPRViPCvBEBi5XLf2iZukfWa/DKNM1pXyOAXJHAhULgXx6 NKFt1m2/SgMpYrSgZUmt09iwvD9XvckT56fR9mF+xaAoOpXDjPiIJqR0+kUnhbsi0RLziF 46VFx0DCGbez/GkBK5JMlaVavj6CTgGbSZWXY4mi1E2MxVLjpkji5f2PCswYnTorSMCWcL i/RNTdSNIIeMMyno9KJOrDPYqNcbWhYEMKaEV5oNQLVEF2HDWDCcr7MeV1/zoPrYGJi0zz SiEO57iXaHTz1V6Iz/trzTb6udX5ilvUz4EgXASWBv4pX2l5Higr5MgvMJYHKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690134875; 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=rTyW5dN+4fzD3JDT1R3afb5kb9lw71bMUnsWhHBgOno=; b=ZnGl1deF37tAGvXGGXxJncIoSWIsbSz0k1+fd3WN5sbGerK37qiYr9nTVukbK6ucjfOm2Q fm+Ua1XT8Tjbnq7E73n4Vlrc9cYQuiip86zfSk5d5j4jxBmg9OfIsjNOu4mQysdrkHHkbl Oag9jIzDoaEbx9Ags5J0PQAqxCg48JX9VIdG8KuRcfkdDUH6eXFm3EaMy1Bb0t4LEiDZQY cd+CLDENd6twWEp0CaHx/zW8l361BlRQirBs2g8E0NLM0OWWAilQkkjkOFU1C22LQMCNiD PVDSigGfD59WXKDtVEbxRgk5EHx0cAAb/y87TVyMAtxjknhYkBMcmi2C9vfNYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690134875; a=rsa-sha256; cv=none; b=jYRcx6OTaQYGSkciHD7Ah0ALQ3ZEZi7Uz1rHvDJ6R6puJaC2HOkJeiocp2jBIcjpOQxwfU KRAZ13uhOmYF+F3SBiGxSpfkfu7gqiMQDcCViHmI94gXz+20jhjbHsRGRMbm7f/TUWFj4/ swwyIIryUTJ5QqjWO5KnYxyoLP/WcMJtala+eBL8fn+t/SNvzxymmBJxwOdS7ObgSYmvc0 jXm5/g4IzYbJ6z68nfsi6sjNLfkklQCDj21Zf4C8MWJrTRARVzz/Sy5chVTafIl+4tGnJx 2448ftuNzKpclToq6qKpjEo8qOxUAcFnBuWQ64B6HyD07FHl7zJpqo2ockVZsQ== 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 4R89sl2h0dzlXX; Sun, 23 Jul 2023 17:54:35 +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 36NHsZ8D007411; Sun, 23 Jul 2023 17:54:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NHsZf5007410; Sun, 23 Jul 2023 17:54:35 GMT (envelope-from git) Date: Sun, 23 Jul 2023 17:54:35 GMT Message-Id: <202307231754.36NHsZf5007410@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: 296aef65e8a0 - main - chinese/celvis: 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: 296aef65e8a02ac26f4bc88be03098008d819ca2 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=296aef65e8a02ac26f4bc88be03098008d819ca2 commit 296aef65e8a02ac26f4bc88be03098008d819ca2 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 17:24:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 17:54:17 +0000 chinese/celvis: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- chinese/celvis/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/chinese/celvis/Makefile b/chinese/celvis/Makefile index 8ea362d41d7e..cd7686f0c52b 100644 --- a/chinese/celvis/Makefile +++ b/chinese/celvis/Makefile @@ -8,9 +8,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Vi/ex clone that speaks Chinese USES= ncurses -CFLAGS+= -Wno-error=return-type + MAKE_ARGS= LIBS="${LDFLAGS} -lncurses" +CFLAGS+= -Wno-error=return-type + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: @# install target in celvis Makefile is not too good -- this is easier ${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${STAGEDIR}${PREFIX}/bin