From nobody Tue Apr 18 21:51:49 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 4Q1Hgp5hsxz45kVN; Tue, 18 Apr 2023 21:51:50 +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 4Q1Hgp1qGlz48v8; Tue, 18 Apr 2023 21:51:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854710; 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=5ritIn/VGiGTl0vFwfByKBNWuURCl3PjPQqXg6k1JLs=; b=lYnyf11dHGaPUXXsFcZ5+Dlpoy6sjQWbjx0iXOIwzFJ7xA5YhZkkqO83hjOvD7CZqS51xv oIPHY4XSiAu5svk87Z9EtbMidXZA6YrHc5sCqj5U7TrBcUm8fH7oNTvMG5QrvELkB/UoOx h2qFP7QfMCT3e3DG4XPsFLovJcK9yQYXj+8Vm2W7/ybeozV/Rg2c9Mgb32BWsx1b8UgpLK kMv2mYe5Rb9a0XlFuaAqyPj8A6saTco4cjrkiiEy1+BxSAH2yDddGBNe6sBZyGndTU6ibD jGgEm6ds6RD0zxqYKAHfT9iETmbvpl6DA6jW23v2+/ITizC7/DWz55o0kM2XKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854710; 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=5ritIn/VGiGTl0vFwfByKBNWuURCl3PjPQqXg6k1JLs=; b=YobN7H8hBOVTW2766CgTO/oGgPJM7NFTEHTPRQaZSHayQnP0rSLpaiFUNFDj5WNXwiaxLx pTReFPJyHtOO4Ykypj4qgH6/P1ntSomOzNUYFslZMQ7jDGYaA286+qiidyigohzHsyyWVm I4N6MgjtX+Y1/nD0igOK5r7C/SNzjJta+DgSyh5CirIdqm8tkPx3WMMapyTqf9K6jxDhzA a1UhwUfFBGUZT1y8PNjBc8ScwQ1mmL8fDsF1ol3dU7guoUhYNqgolN1SSIAE39PddI+6UA OrEwizp71b82NbEaUVUwAUeqBeAeSybO9xyba+d2zXoz61A7EXNAdaR6AR3qbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681854710; a=rsa-sha256; cv=none; b=tO12wiRhxj+AjHsjte4mCMaAWpRtNokSv1+69N+/3uoXVBM51Brl3H9WyoIP/GuJm8EBu2 qOXYaFwXchNjwbbPPnY6TAOfvRFJ8OUlPvGBbeuVYmfswY01nCVAL2lpTv8vVl2RFY+vcI Dtn9idx2VdCWtrFgGIn6gLvIx/OMHg9d/Ywig40FCF6CDwu+glWubvZWK4lTpWg6/dnJos I3PBXYzSsuOujOS5dPOImD58R+k32KLD8qKvOO2KDQU/nXXYVriaVP7yOph7v6YmeCqkNN JSvGDnshv+kUtfAzH6yCweNDJwHtG+64eQudBpwMeP6TsCz8OIHE9Jkr2dLU6A== 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 4Q1Hgp0cFDzT8C; Tue, 18 Apr 2023 21:51:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33ILpnxF060867; Tue, 18 Apr 2023 21:51:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ILpnHw060866; Tue, 18 Apr 2023 21:51:49 GMT (envelope-from git) Date: Tue, 18 Apr 2023 21:51:49 GMT Message-Id: <202304182151.33ILpnHw060866@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: b10f16b4f4cb - main - devel/qt5-webengine: fix build with clang 16 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: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b10f16b4f4cbaaae6844e468036020b98fc0830b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=b10f16b4f4cbaaae6844e468036020b98fc0830b commit b10f16b4f4cbaaae6844e468036020b98fc0830b Author: Eric Camachat AuthorDate: 2023-04-18 15:34:05 +0000 Commit: Adriaan de Groot CommitDate: 2023-04-18 21:51:40 +0000 devel/qt5-webengine: fix build with clang 16 This just suppresses one warning which might otherwise error out with the latest clang. PR: 270458 --- ...rdparty_chromium_build_config_compiler_BUILD.gn | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn b/www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn index cecfb1c215e1..34b3afbecbef 100644 --- a/www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn +++ b/www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn @@ -18,7 +18,15 @@ ldflags += [ "-Wl,--fatal-warnings" ] } if (fatal_linker_warnings && is_apple && -@@ -407,7 +407,7 @@ config("compiler") { +@@ -310,6 +310,7 @@ config("compiler") { + + if (use_qt && is_clang) { + cflags += [ ++ "-Wno-enum-constexpr-conversion", + "-Wno-unknown-attributes", + "-Wno-unknown-pragmas", + "-Wno-unknown-warning-option" +@@ -407,7 +408,7 @@ config("compiler") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in # the executable they are loaded into, so they are unresolved at link-time. @@ -27,7 +35,7 @@ ldflags += [ "-Wl,-z,defs", "-Wl,--as-needed", -@@ -795,7 +795,7 @@ config("compiler_cpu_abi") { +@@ -795,7 +796,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -36,7 +44,7 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1148,7 +1148,7 @@ config("compiler_deterministic") { +@@ -1148,7 +1149,7 @@ config("compiler_deterministic") { "-Xclang", ".", ] @@ -45,7 +53,7 @@ # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) asmflags = [ "-Wa,-fdebug-compilation-dir,." ] } -@@ -1550,7 +1550,7 @@ config("default_warnings") { +@@ -1550,7 +1551,7 @@ config("default_warnings") { cflags += [ "-Wno-nonportable-include-path" ] } @@ -54,7 +62,7 @@ # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not # recognize. cflags += [ -@@ -1724,7 +1724,7 @@ config("no_chromium_code") { +@@ -1724,7 +1725,7 @@ config("no_chromium_code") { # suppressing them individually, we just blanket suppress them here. "-Wno-unused-variable", ] @@ -63,7 +71,7 @@ cflags += [ # TODO(https://crbug.com/1031169): Clean up and enable. "-Wno-misleading-indentation", -@@ -1802,7 +1802,7 @@ config("thin_archive") { +@@ -1802,7 +1803,7 @@ config("thin_archive") { # Mac and iOS use the mac-specific "libtool" command, not ar, which doesn't # have a "thin archive" mode (it does accept -T, but it means truncating # archive names to 16 characters, which is not what we want). @@ -72,7 +80,7 @@ arflags = [ "-T" ] } else if (is_win && use_lld) { arflags = [ "/llvmlibthin" ] -@@ -2343,7 +2343,7 @@ config("symbols") { +@@ -2343,7 +2344,7 @@ config("symbols") { # flag, so we can use use -g1 for pnacl and nacl-clang compiles. # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang. if (!is_nacl || is_clang) { @@ -81,7 +89,7 @@ } # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. -@@ -2385,7 +2385,7 @@ config("symbols") { +@@ -2385,7 +2386,7 @@ config("symbols") { # DWARF info may be corrupt; offsets in a range list entry are in different # sections" there. Maybe just a bug in nacl_switch_32.S. if (!is_apple && !is_nacl && current_cpu != "x86" &&