From nobody Sun Jul 02 18:47:43 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 4QvJ2l3PH7z4lSTL; Sun, 2 Jul 2023 18:47:43 +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 4QvJ2l2zcjz4LXZ; Sun, 2 Jul 2023 18:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688323663; 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=fM7jk8TdkU7jOLB3VkmdEC1FCpmSIm11qKgF5SDqRao=; b=pAhL1ck0FyUlwGdrUKOp6F3rfYo+2RD6J9cab6QXUPabbevzYNDcghUv8H4E6xy05aiRLL c21/YTGGRyvYYTbSqsqE1ZWw6fAWPBCfV2fD+dBfaz+VJi0rOQBw84JA23Ephs4ekl+DcO OwmrOb5yWgeQSpMoBTivZONnsMVAs6iLRiMacxBXSsmYVB1qTo+0TX+qLJ7A68nkLDRKlB WgpyyCknAl2r56hroZ4gcCf3zJjIk26H6CIoLuk1nycN2NEIO1KzovHljlei7ghWroGjzw 5s5s22BUE6UZ4FWx1m1PfmmzurZvYRbeziyIr3VwZs3yErgEUb1MIhzrwhfr9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688323663; 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=fM7jk8TdkU7jOLB3VkmdEC1FCpmSIm11qKgF5SDqRao=; b=QdEQlndEaGD5xDEVSRwUKe1IENe5y3CWUZB/Fy640yTnkcgWSTlkrN+EFVeqUsKe/kXEmS xwTwiUNKuSCe6s15yRN+nXSRdG/osJyFtQOOJ1Mgy71VFgm0Dpy1XItl6x+63zk6wbxmcn qzX/BX1k3ljkzbhLZ1m65yEkbUG3Nhu10Fm9jFMMjYxkMFplWJWUutBA3OZnOER0/CvJfu gond5+NkzYDoGckpUlXeawsxBhbE3fIlU1sDrZ9jIiz36TFdDwq5fwXQayxuvWgqD8vEc0 NT4TbvjzPpDYoySnwJwg0LNltg5pQD7HCPrN5kWuwYKzf5n0rmXLCsVqyDna8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688323663; a=rsa-sha256; cv=none; b=kvH8IiSz/HTes/heda7OFMK/9ZRFhzn7py0T0KVVtXMCHWPTZuBytT1DJTl7hBVR7Afzyb Ah8Lp9ZXWGIZdX02+NEHPCTBRpelOuqKxZvAk586G1/0cyR0Aj74I9BQelMYUk1Dte4gA8 ow4RDmG5n9CEvt+KtZgT3DdU13cAbzPky2KsjWfPWqsXvtS3Zkhy9N+5ya/gh/GBO1XRn6 nHw3NvTZvVVWjjxxuCkS/xJpTAxOzw5WoAHGDXdn3p7LfoHWFMyqhhrU4tdW8662GVFFHZ 9az8ImMd9W9iW6lFZmijq1sk1t4myAcu51Yg+I9YkNO6hES9b6WpWwM//aEq9Q== 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 4QvJ2l21xVzK2T; Sun, 2 Jul 2023 18:47:43 +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 362Ilhif084084; Sun, 2 Jul 2023 18:47:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 362IlhFU084083; Sun, 2 Jul 2023 18:47:43 GMT (envelope-from git) Date: Sun, 2 Jul 2023 18:47:43 GMT Message-Id: <202307021847.362IlhFU084083@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 316a89ed4e72 - main - games/punchy: unbreak build with clang 16 on aarch64 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 316a89ed4e72fc2c5c49589c0c797ef535ac11af Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=316a89ed4e72fc2c5c49589c0c797ef535ac11af commit 316a89ed4e72fc2c5c49589c0c797ef535ac11af Author: Jan Beich AuthorDate: 2023-07-02 18:41:19 +0000 Commit: Jan Beich CommitDate: 2023-07-02 18:46:51 +0000 games/punchy: unbreak build with clang 16 on aarch64 In file included from cargo-crates/v8-0.47.1/v8/src/compiler/backend/instruction-selector.cc:5: In file included from cargo-crates/v8-0.47.1/v8/src/compiler/backend/instruction-selector.h:12: In file included from cargo-crates/v8-0.47.1/v8/src/compiler/backend/instruction-scheduler.h:10: In file included from cargo-crates/v8-0.47.1/v8/src/compiler/backend/instruction.h:13: In file included from cargo-crates/v8-0.47.1/v8/src/codegen/external-reference.h:9: In file included from cargo-crates/v8-0.47.1/v8/src/runtime/runtime.h:11: cargo-crates/v8-0.47.1/v8/src/base/bit-field.h:43:29: error: integer value 31 is outside the valid range of values [0, 15] for the enumeration type 'AddressingMode' [-Wenum-constexpr-conversion] static constexpr T kMax = static_cast(kNumValues - 1); ^ Reported by: pkg-fallout --- games/punchy/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/games/punchy/Makefile b/games/punchy/Makefile index 17041020b6e4..8e1fe489fc11 100644 --- a/games/punchy/Makefile +++ b/games/punchy/Makefile @@ -24,10 +24,11 @@ PORTDATA= * # Bundled v8 BUILD_DEPENDS+= gn:devel/gn -USES+= ninja:build python:build +USES+= compiler ninja:build python:build BINARY_ALIAS+= python=${PYTHON_CMD} CARGO_ENV+= V8_FROM_SOURCE=1 CLANG_BASE_PATH="/usr" GN_ARGS='${GN_ARGS}' GN_ARGS+= use_custom_libcxx=false +CXXFLAGS+= ${${ARCH} == aarch64 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160:?-Wno-enum-constexpr-conversion:} post-patch: # Search assets under PREFIX instead of current directory