public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwebengine/files/
Date: Fri, 14 Feb 2025 02:25:10 +0000 (UTC)	[thread overview]
Message-ID: <1739499830.aabd7f6e2f5211000b2dd2dfc819c9780e5b63ff.ionen@gentoo> (raw)

commit:     aabd7f6e2f5211000b2dd2dfc819c9780e5b63ff
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 02:18:07 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 02:23:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabd7f6e

dev-qt/qtwebengine: fix glibc2.41 patch for older glibc

(actually) import from www-client/chromium this time, had missed
that the final used patch was different than the one on the bug.

No need for another revbump given it'd have just failed to build
if <2.41, and was fine if using 2.41.

Bug:  https://bugs.gentoo.org/949654
Thanks-to: Sam James <sam <AT> gentoo.org>
Fixes: 030898ec7dfd200a15c25027787ccb588627e031
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../files/qtwebengine-6.8.2-glibc2.41.patch            | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

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
index 85288a94a6a0..eaaf7cbc57f0 100644
--- a/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.8.2-glibc2.41.patch
@@ -2,19 +2,21 @@ 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.
+@@ -36,4 +36,8 @@
+ #include "sandbox/linux/system_headers/linux_time.h"
+ 
++#if !defined(MAP_DROPPABLE)
++#define MAP_DROPPABLE	0x08    // Zero memory under memory pressure.
++#endif
++
+ #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
+     !defined(__arm__) && !defined(__aarch64__) &&             \
+@@ -239,5 +243,5 @@
    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());


             reply	other threads:[~2025-02-14  2:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-14  2:25 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23  8:44 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwebengine/files/ Andreas Sturmlechner
2024-11-19  9:05 Ionen Wolkens
2024-10-30  2:55 Sam James
2024-04-18 19:32 Conrad Kostecki
2024-04-17 10:16 Ionen Wolkens
2024-01-17 11:18 Andreas Sturmlechner
2023-11-20 23:35 Ionen Wolkens
2023-10-15 17:10 Ionen Wolkens
2023-10-05 19:50 Ionen Wolkens
2023-04-15 12:32 Sam James
2023-04-15  9:32 Sam James
2023-02-23 21:02 Alfredo Tupone
2022-12-10 12:25 Andreas Sturmlechner
2022-06-14 17:35 Andreas Sturmlechner
2021-04-28 15:14 Thomas Deutschmann
2018-05-13  6:56 Andreas Sturmlechner
2016-12-01 14:04 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739499830.aabd7f6e2f5211000b2dd2dfc819c9780e5b63ff.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox