From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1717591-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 finch.gentoo.org (Postfix) with ESMTPS id 5008B1582EF
	for <garchives@archives.gentoo.org>; Thu, 13 Feb 2025 19:50:03 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 0CAD6343083
	for <garchives@archives.gentoo.org>; Thu, 13 Feb 2025 19:50:03 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id E3CEE11042D;
	Thu, 13 Feb 2025 19:50:01 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 bobolink.gentoo.org (Postfix) with ESMTPS id D4DC311042D
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Feb 2025 19:50:01 +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 767C8342FAE
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Feb 2025 19:50:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F86217D
	for <gentoo-commits@lists.gentoo.org>; Thu, 13 Feb 2025 19:49:59 +0000 (UTC)
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" <ionen@gentoo.org>
Message-ID: <1739476144.030898ec7dfd200a15c25027787ccb588627e031.ionen@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild dev-qt/qtwebengine/qtwebengine-6.8.2.ebuild
X-VCS-Directories: dev-qt/qtwebengine/files/ dev-qt/qtwebengine/
X-VCS-Committer: ionen
X-VCS-Committer-Name: Ionen Wolkens
X-VCS-Revision: 030898ec7dfd200a15c25027787ccb588627e031
X-VCS-Branch: master
Date: Thu, 13 Feb 2025 19:49:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a4996098-7af1-41ee-956a-8f31125ec028
X-Archives-Hash: 72801d36a123764a4679601d029ea788

commit:     030898ec7dfd200a15c25027787ccb588627e031
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 13 19:42:19 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 19:49:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030898ec

dev-qt/qtwebengine: import glibc-2.41 crash fix from chromium

qtwebengine appears affected as well, reproduced the crash on
imgur's main page by scrolling in qutebrowser. Haven't tested
the patch myself but it appears to works fine for qtwebengine
according to Chiitoo.

Bug: https://bugs.gentoo.org/949654
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../files/qtwebengine-6.8.2-glibc2.41.patch          | 20 ++++++++++++++++++++
 ...gine-6.8.2.ebuild => qtwebengine-6.8.2-r1.ebuild} |  1 +
 2 files changed, 21 insertions(+)

diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
new file mode 100644
index 000000000000..85288a94a6a0
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/949654
+
+Quick downstream fix for now. Hasn't been sent to upstream(s) yet
+as of the writing of this, but believe it should happen soon.
+
+From 6c7a3a3a733cf33e9355f497815700e5e26e7c3d Mon Sep 17 00:00:00 2001
+From: Mike Lothian <mike@fireburn.co.uk>
+Date: Wed, 12 Feb 2025 13:52:01 +0000
+Subject: [PATCH] Test fix
+--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
++++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+@@ -238,7 +238,7 @@ ResultExpr RestrictMmapFlags() {
+   // TODO(davidung), remove MAP_DENYWRITE with updated Tegra libraries.
+   const uint64_t kAllowedMask = MAP_SHARED | MAP_PRIVATE | MAP_ANONYMOUS |
+                                 MAP_STACK | MAP_NORESERVE | MAP_FIXED |
+-                                MAP_DENYWRITE | MAP_LOCKED |
++                                MAP_DENYWRITE | MAP_LOCKED | MAP_DROPPABLE |
+                                 kArchSpecificAllowedMask;
+   const Arg<int> flags(3);
+   return If((flags & ~kAllowedMask) == 0, Allow()).Else(CrashSIGSYS());

diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.2.ebuild b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
similarity index 99%
rename from dev-qt/qtwebengine/qtwebengine-6.8.2.ebuild
rename to dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
index 0988f8bb29d5..5953fdc5e01c 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.8.2.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.8.2-r1.ebuild
@@ -110,6 +110,7 @@ PATCHES+=(
 	# add extras as needed here, may merge in set if carries across versions
 	"${FILESDIR}"/${PN}-6.8.1-aarch64-xnnpack.patch
 	"${FILESDIR}"/${PN}-6.8.1-cstdint.patch
+	"${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch
 )
 
 python_check_deps() {