diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-12-19 12:03:53 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-12-19 13:22:46 +0000 |
commit | 6d2357bf5fa4901e32cb73e6a974fd426bd5c439 (patch) | |
tree | 0fda6bbacd631c53eeb44b72b4351f8493cfb95b | |
parent | d9faf365fcd6949aa5db2ad38cd37403b2db3b57 (diff) | |
download | ports-6d2357bf5fa4901e32cb73e6a974fd426bd5c439.tar.gz ports-6d2357bf5fa4901e32cb73e6a974fd426bd5c439.zip |
games/punchy: unbreak build with clang 17
error: unknown argument: '-no-opaque-pointers'
Reported by: pkg-fallout
-rw-r--r-- | games/punchy/files/patch-clang17 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games/punchy/files/patch-clang17 b/games/punchy/files/patch-clang17 new file mode 100644 index 000000000000..0f5913ede690 --- /dev/null +++ b/games/punchy/files/patch-clang17 @@ -0,0 +1,23 @@ +https://github.com/llvm/llvm-project/commit/066fb7a58c5a +https://github.com/denoland/chromium_build/commit/67a6e3e79577 +https://github.com/denoland/rusty_v8/commit/0e09f12eca47 + +--- cargo-crates/v8-0.47.1/build/config/compiler/BUILD.gn.orig 1970-01-01 00:00:00 UTC ++++ cargo-crates/v8-0.47.1/build/config/compiler/BUILD.gn +@@ -1564,16 +1564,6 @@ config("default_warnings") { + cflags += [ "-Wno-unqualified-std-cast-call" ] + } + +- if (!is_nacl && !(is_chromeos || +- default_toolchain == "//build/toolchain/cros:target") && +- clang_major_version >= 15) { +- # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out +- cflags += [ +- "-Xclang", +- "-no-opaque-pointers", +- ] +- } +- + if (is_fuchsia) { + # TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383) + cflags += [ "-Wno-deprecated-copy" ] |