From nobody Fri Jul 21 19:58:06 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 4R70jC1yRtz4dVrV; Fri, 21 Jul 2023 19:58:07 +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 4R70jB5ds1z3JhS; Fri, 21 Jul 2023 19:58:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689969486; 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=PKxe8EfOxkjV+rwfSqUSKMdm7bUhAD9AsmxbXk/TeGI=; b=IeC1g1mcluiCGgj3deZM6tk/6dqW4zsWY9rQUxg1F2dAjH51uJFIGaasCRl188K4s31kif Nikg9LUbzYgCmBCeDW/8XojMdNbLtxhsKvtM3rb/OElF05pvRPrVYBKMuWWHWY4IpKLMfb e/YofBJZVWewVLt5uWUr/tPkwhsS5KS4h/lcJWwQMOs+8/QZknCly9RINMMuDPGj4i9/wf lr8rD53CppeV/rv5w1xxIHVyp9P5I2T3GwKZHZr0/HFPLEJ3OK9IVtPbLxIQYbBjV6DPil Iknl+/p+3Vpga5Wka+iBvurA6ufE1N/MCWJo7dLy/9G2QAilTUnjNXCdoOPffQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689969486; 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=PKxe8EfOxkjV+rwfSqUSKMdm7bUhAD9AsmxbXk/TeGI=; b=OCMa2Frfse4/NIVyLe4VRzriHLDa8imE4SygG5o6suMcwM6neI5mMYZrboAbgwwHjeravO 5rLiWgvLiDvi+akWEMyYrXySkDvUPuc4Wx2IRPzeIrTX/AKABAlyOccsALZ3Pe9ddp2Bms tMPfaA6O5qDc7bu10EIImgY6UGNIeYUwAPmOWOAj9WY11RoyUWRcYTusG+FYWPBeo4kVdZ sK4P0XD/7enPMUdxzORdGEJ02W3DG96NZS3Lj0f3idSKtoIgqatfYnxcm65QJxvosqTyB7 UPFnAJtyd50YECoeIkKTscH3CY31wCdEQjDyXkorY4YZFRt32VSB12SH+hiGOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689969486; a=rsa-sha256; cv=none; b=EMhyTC2g8vvajtwliUNpwqlkVQg0pPCrmBupyIZWWxyUxibIXvvmW1QzUP22J8qxNQOwP4 2WNUojaJL7IuXFqe/q7uL1tAwc+06Fj+F76Ai/NHAv2czMNcSUIK4dUBX7Nsi0ToBzdz52 Ms3gFI08DF4/ZMPZmM0oBV/yErQXlKX1pCz0MWK/vSpLwZpyV9ZvmGaqYBVkcW8E04v2PH ygpGRhzhXWBa/VKuJUjdYzpxWdo0VviXsaqxmWI8A3uxjcQ8vkLCbym0zxzYiod+Sg45eL 4krOExRvezJik4yts+lmBMcTz2GDdm0dGPTYdXhvktK3zWtnpnW/I6rh6s9/pA== 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 4R70jB4ZNHzQyG; Fri, 21 Jul 2023 19:58:06 +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 36LJw6jX041261; Fri, 21 Jul 2023 19:58:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LJw6O6041260; Fri, 21 Jul 2023 19:58:06 GMT (envelope-from git) Date: Fri, 21 Jul 2023 19:58:06 GMT Message-Id: <202307211958.36LJw6O6041260@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: aeb075624622 - main - games/xtrojka: 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: aeb0756246224ffe7dd3e391a1f78e50d7a1dc36 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=aeb0756246224ffe7dd3e391a1f78e50d7a1dc36 commit aeb0756246224ffe7dd3e391a1f78e50d7a1dc36 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 19:30:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 19:57:53 +0000 games/xtrojka: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/xtrojka/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile index cdf36f346d59..5ad5f0dfd1cc 100644 --- a/games/xtrojka/Makefile +++ b/games/xtrojka/Makefile @@ -10,10 +10,20 @@ COMMENT= Game of skill similar to T*tris USES= xorg USE_XORG= x11 xt xorgproto xaw xmu xext + MAKE_JOBS_UNSAFE= yes -WRKSRC= ${WRKDIR}/${DISTNAME} INSTALL_TARGET= install PREFIX=${STAGEDIR}${PREFIX} +WRKSRC= ${WRKDIR}/${DISTNAME} + +.include + +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \ + ${WRKSRC}/Makefile +.endif + pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/xtrojka