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 E297215ACFB for ; Sun, 23 Apr 2023 14:46:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EBEBE0ADE; Sun, 23 Apr 2023 14:46:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 70992E0ADE for ; Sun, 23 Apr 2023 14:46:53 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB93534085A for ; Sun, 23 Apr 2023 14:46:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66C5B909 for ; Sun, 23 Apr 2023 14:46:50 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1682261128.d92f571cc96e10d74f49068c5c83b89f762cd373.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/files/chromium-112-swiftshader.patch X-VCS-Directories: www-client/chromium/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: d92f571cc96e10d74f49068c5c83b89f762cd373 X-VCS-Branch: master Date: Sun, 23 Apr 2023 14:46:50 +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: 59891e0c-b7a8-4ff2-a73a-a13545c1837a X-Archives-Hash: 8e41df25dc510aca8937c4a0f39c997b commit: d92f571cc96e10d74f49068c5c83b89f762cd373 Author: Mike Gilbert gentoo org> AuthorDate: Sun Apr 23 14:45:28 2023 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Apr 23 14:45:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d92f571c www-client/chromium: update swiftshader patch Closes: https://bugs.gentoo.org/904850 Signed-off-by: Mike Gilbert gentoo.org> .../chromium/files/chromium-112-swiftshader.patch | 52 +++++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/www-client/chromium/files/chromium-112-swiftshader.patch b/www-client/chromium/files/chromium-112-swiftshader.patch index 5f703d919555..9d67841a1dea 100644 --- a/www-client/chromium/files/chromium-112-swiftshader.patch +++ b/www-client/chromium/files/chromium-112-swiftshader.patch @@ -1,4 +1,5 @@ https://bugs.gentoo.org/904725 +https://bugs.gentoo.org/904850 From 451fb9470e4e1cd183ff05d5e171dc21bae6e47c Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz @@ -29,8 +30,6 @@ Tested-by: Shahbaz Youssefi Commit-Queue: Shahbaz Youssefi --- -diff --git a/third_party/llvm-10.0/llvm/include/llvm/ADT/STLExtras.h b/third_party/llvm-10.0/llvm/include/llvm/ADT/STLExtras.h -index 620209b..d0a48e8 100644 --- a/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/STLExtras.h +++ b/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/STLExtras.h @@ -1415,9 +1415,9 @@ @@ -72,3 +71,52 @@ index 620209b..d0a48e8 100644 Result = Other.Result; return *this; } +From e4dea744b7838470757f010fc2ff4b92f02b3fac Mon Sep 17 00:00:00 2001 +From: Jose Dapena Paz +Date: Thu, 16 Mar 2023 13:29:54 +0100 +Subject: [PATCH] More C++20 fixes + +Partial backport of llvm-project patch: + commit 2ccf0b76bcaf0895e04f14e3ff53c59dd96f9f0f + Author: Evgeny Mandrikov + Date: Thu Jan 6 17:01:05 2022 +0100 + + Fix build failure with GCC 11 in C++20 mode + + See https://wg21.link/cwg2237 + + Reviewed By: shafik, dexonsmith + + Differential Revision: https://reviews.llvm.org/D115355 + +Bug: chromium:819294 +Change-Id: I90d58b6fc601f9a4f615e2f6edc13a73ce848e4f +Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/71089 +Reviewed-by: Shahbaz Youssefi +Tested-by: Shahbaz Youssefi +Kokoro-Result: kokoro +Commit-Queue: Shahbaz Youssefi +--- + +--- a/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h ++++ b/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h +@@ -718,7 +718,7 @@ + T *P; + + public: +- SingleLinkedListIterator(T *P) : P(P) {} ++ SingleLinkedListIterator(T *P) : P(P) {} + + SingleLinkedListIterator &operator++() { + P = P->Next; +--- a/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/BinaryStreamArray.h ++++ b/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/BinaryStreamArray.h +@@ -324,7 +324,7 @@ + FixedStreamArrayIterator(const FixedStreamArray &Array, uint32_t Index) + : Array(Array), Index(Index) {} + +- FixedStreamArrayIterator(const FixedStreamArrayIterator &Other) ++ FixedStreamArrayIterator(const FixedStreamArrayIterator &Other) + : Array(Other.Array), Index(Other.Index) {} + FixedStreamArrayIterator & + operator=(const FixedStreamArrayIterator &Other) {