From nobody Sat Aug 05 18:01: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 4RJ9Pk6nw0z4mLwc; Sat, 5 Aug 2023 18:01:30 +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 4RJ9Pk3g4dz4SRh; Sat, 5 Aug 2023 18:01:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258490; 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=U6LEzcvM2bZN/XeMfzaD+OBjxCDvVlR/gDbfMe81uRs=; b=eG5E/wZE90qbfCFays3I5ZBnA6RUfQbOmNsf2dWlQ+VHOmkXDUANzdVP5l8eEVDZXQFGop DSH8jui3gTUZmmwzm0pa1AYnL0Odz/nVA/PcEB/lz/LeUdBf64ngQ8xeSAag1n9UjNgKqZ dg/Hh+/5fCGpvsV4O0gGl4aiO9OtNuvZ6KGDRcuqbBUWgWPEOKERo7f8v1TdexKyf6/uSk w45qC4hquUD/hgVDRUc0M1PuS5W0LsWHIHLegCFHQr4dDQIve03yb39nxzjL5+dZ62hn2z NpjnAcpV1pQl9F80tWEsrPc98cz9IfqyYBJ/S4kilMBjEXnAnzS6In4JX9tuSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691258490; 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=U6LEzcvM2bZN/XeMfzaD+OBjxCDvVlR/gDbfMe81uRs=; b=fQ9+D5ZSZOURuHweqkbcypolQ3/YGT0lBOMBAD8P1Av7E1p5c+C87UdVVfbf7J/+WcqVTo WWb1999TMtKmYeGB41kZj906YjmRYm6OM4/ANOYbQFYMuB0H/BUECP8WQVEtS023TvzA6P JTJisHiEAs846dBnHybchcytqDquj9hkQBcePuxNFyVvD+YSGcotXqmR9XvTuknENdv+Yc yp8s0aRYWWv2pNWPALh9HIMde0LJeaZHdMyLFHu1IFCBgguNNzLRKAIgqIIMvDb2A4EPts n9aTOGUCIgHyaXgSd1Yu51+CbawAufGLIfiQN02Y1W6iYKWGiOlLL5xBntRRlg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691258490; a=rsa-sha256; cv=none; b=opLIOU9w3qTcCXuS6l4pvaOGVf2MEhApu+45Hpl+bg/nTgcIkNUqn1OXFcx9XEQSw19Vbi dN5EO/VHp52uq5Hj4jr675+j/nQQAnL4/fXr4VCX2P0EDHHG8c+ww/MqKoey9gi5CnS3tX JSzA7cro2bOJK9tat9wLjX/LLxhUsIZnYbjTYwZJj0fXWAbrKhFU3zKk47/V6Hhj3eM+cE 0CNzbK/69YmS8cEDKv8o3a6jTU2S6FLreg+sJtn8neGnrqdWWyCEtdaXCDiXmA7gcztvnY gQ9K8SYOLAhM/BSfBrsRrsFBABidxxFCd3bFPsnwgtikkFyq2eoOzTAn94c9iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ9Pk2Yl4zdrx; Sat, 5 Aug 2023 18:01: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 375I1UHH090043; Sat, 5 Aug 2023 18:01:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375I1UsE090042; Sat, 5 Aug 2023 18:01:30 GMT (envelope-from git) Date: Sat, 5 Aug 2023 18:01:30 GMT Message-Id: <202308051801.375I1UsE090042@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: 79cb9f7b2d24 - main - games/avp: 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: 79cb9f7b2d242a72d7fefd09e68bf0f92d6f97e8 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=79cb9f7b2d242a72d7fefd09e68bf0f92d6f97e8 commit 79cb9f7b2d242a72d7fefd09e68bf0f92d6f97e8 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 15:00:25 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 18:01:10 +0000 games/avp: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/avp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/games/avp/Makefile b/games/avp/Makefile index dfd871f34e56..f4b74cceb1c5 100644 --- a/games/avp/Makefile +++ b/games/avp/Makefile @@ -20,6 +20,12 @@ LDFLAGS_i386= -Wl,-znotext PLIST_FILES= bin/${PORTNAME} +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/