public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Troy Dawson <tdawson@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtwebengine] epel9: Add patch to fix builds for ppc64le on epel9
Date: Sat, 10 Oct 2026 02:55:00 GMT	[thread overview]
Message-ID: <179160090002.1.17650159979128996579.rpms-qt6-qtwebengine-392285b7533b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/qt6-qtwebengine
Branch : epel9
Commit : 392285b7533be1f4bd86927cb65d7d418986e814
Author : Troy Dawson <tdawson@redhat.com>
Date   : 2026-10-09T19:54:43-07:00
Stats  : +32/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/392285b7533be1f4bd86927cb65d7d418986e814?branch=epel9

Log:
Add patch to fix builds for ppc64le on epel9

---
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index 7664c6f..a7ea664 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -147,6 +147,7 @@ Patch200: qtwebengine-6.9-ppc64.patch
 Patch201: qtwebengine-chromium-ppc64.patch
 # https://github.com/google/highway/commit/dcc0ca1cd4245ecff9e5ba50818e47d5e2ccf699
 Patch202: qtwebengine-chromium-ppc64-highway.patch
+Patch203: qtwebengine-epel9-ppc64.patch
 
 # handled by qt6-srpm-macros, which defines %%qt6_qtwebengine_arches
 # FIXME use/update qt6_qtwebengine_arches
@@ -506,7 +507,9 @@ pushd third_party/highway/src
 %patch -P202 -p1
 popd
 popd
-
+%ifarch ppc64le
+%patch -P203 -p1
+%endif
 
 # delete all "toolprefix = " lines from build/toolchain/linux/BUILD.gn, as we
 # never cross-compile in native Fedora RPMs, fixes ARM and aarch64 FTBFS
@@ -858,6 +861,7 @@ done
 - No system libtiff on epel9 (too old)
 - No system libopenjpeg2 on epel9 (too old)
 - Patch for gcc 13
+- Patch for ppc64le on epel9
 
 * Thu Apr 02 2026 Jan Grulich <jgrulich@redhat.com> - 6.10.3-1
 - 6.10.3

diff --git a/qtwebengine-epel9-ppc64.patch b/qtwebengine-epel9-ppc64.patch
new file mode 100644
index 0000000..ba745a0
--- /dev/null
+++ b/qtwebengine-epel9-ppc64.patch
@@ -0,0 +1,27 @@
+From 79a00530782fa3ffc3706101bbdc46614b88bc3a Mon Sep 17 00:00:00 2001
+From: Troy Dawson <tdawson@redhat.com>
+Date: Fri, 9 Oct 2026 14:41:49 -0700
+Subject: [PATCH] ppc64le define NR_mseal
+
+---
+ .../sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc         | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+index 865e87f722..edbe9a4409 100644
+--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
++++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+@@ -7,6 +7,10 @@
+ #include "build/build_config.h"
+ #include "sandbox/linux/system_headers/linux_syscalls.h"
+ 
++#if !defined(__NR_mseal)
++#define __NR_mseal 462
++#endif
++
+ namespace sandbox {
+ 
+ // The functions below cover all existing i386, x86_64, and ARM system calls;
+-- 
+2.55.0
+

                 reply	other threads:[~2026-10-10  2:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179160090002.1.17650159979128996579.rpms-qt6-qtwebengine-392285b7533b@fedoraproject.org \
    --to=tdawson@redhat.com \
    --cc=git-commits@fedoraproject.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