From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBF6A15800A for ; Fri, 4 Aug 2023 12:35:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 110602BC015; Fri, 4 Aug 2023 12:35:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECF812BC015 for ; Fri, 4 Aug 2023 12:35:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B23E9340DEC for ; Fri, 4 Aug 2023 12:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2950EEA for ; Fri, 4 Aug 2023 12:35:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1691152502.6fb7d0a7131b5a5938b12673f4b260d66cc1a527.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwebengine/files/, dev-qt/qtwebengine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230623-clang16.patch dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild X-VCS-Directories: dev-qt/qtwebengine/files/ dev-qt/qtwebengine/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6fb7d0a7131b5a5938b12673f4b260d66cc1a527 X-VCS-Branch: master Date: Fri, 4 Aug 2023 12:35:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 479476bb-9056-4ca9-9083-59c4dff7353d X-Archives-Hash: f98575baf86347d949f49c53f323b888 commit: 6fb7d0a7131b5a5938b12673f4b260d66cc1a527 Author: Denis Pronin yandex ru> AuthorDate: Thu Jul 13 14:55:14 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 4 12:35:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb7d0a7 dev-qt/qtwebengine: fix compiling with clang-16 clang-16 complains about casting an integer value that exceeds an enumeration capacity in the class base::BitField to not modify chromium code we just cancel warning about this circumstance to prevent it from being converted to an error that fails compilation [sam: Note that this is a bandaid and won't work with Clang 17.] Bug: https://bugs.gentoo.org/903573 Signed-off-by: Denis Pronin yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/31869 Signed-off-by: Sam James gentoo.org> .../files/qtwebengine-5.15.10_p20230623-clang16.patch | 15 +++++++++++++++ dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230623-clang16.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230623-clang16.patch new file mode 100644 index 000000000000..2d8f8482e1b4 --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230623-clang16.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/903573 +--- a/src/3rdparty/chromium/v8/src/base/bit-field.h ++++ b/src/3rdparty/chromium/v8/src/base/bit-field.h +@@ -39,8 +39,11 @@ + static constexpr int kLastUsedBit = kShift + kSize - 1; + static constexpr U kNumValues = U{1} << kSize; + ++ #pragma clang diagnostic push ++ #pragma clang diagnostic ignored "-Wenum-constexpr-conversion" + // Value for the field with all bits set. + static constexpr T kMax = static_cast(kNumValues - 1); ++ #pragma clang diagnostic pop + + template + using Next = BitField; diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild index ce07a4c85372..937b8d59b20d 100644 --- a/dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-5.15.10_p20230623.ebuild @@ -100,7 +100,10 @@ BDEPEND="${PYTHON_DEPS} ppc64? ( >=dev-util/gn-0.1807 ) " -PATCHES=( "${WORKDIR}/${PN}-5.15.8_p20230313-patchset" ) +PATCHES=( + "${WORKDIR}/${PN}-5.15.8_p20230313-patchset" + "${FILESDIR}/${PN}-5.15.10_p20230623-clang16.patch" +) qtwebengine_check-reqs() { # bug #307861