public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: ...
@ 2026-08-07 16:07 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 98aabf1afa6e37394cd7338d588cfdc5e35c0970
Author : Than Ngo <than@redhat.com>
Date : 2025-04-03T12:17:18+02:00
Stats : +23/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/98aabf1afa6e37394cd7338d588cfdc5e35c0970?branch=epel9-next
Log:
...
gen/third_party/skia/experimental/rust_png/ffi/FFI.rs.cc:919:59: error: no member named 'unique_ptr' in namespace 'std'
919 | ::rust::Box<::rust_png::ResultOfReader> new_reader(::std::unique_ptr<::rust_png::ReadTrait> input) noexcept {
..
Fix build error on el10, ppc64le
---
diff --git a/chromium.spec b/chromium.spec
index 6c2f66f..7626c87 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -144,7 +144,7 @@
# enable|disable control flow integrity support
%global cfi 0
%ifarch x86_64 aarch64
-%global cfi 1
+%global cfi 0
%endif
# enable qt backend
@@ -439,17 +439,19 @@ Patch412: add-ppc64-architecture-to-extensions.diff
Patch413: fix-unknown-warning-option-messages.diff
Patch414: cargo-add-ppc64.diff
Patch415: add-ppc64-pthread-stack-size.patch
+# Fix build error on el10
+Patch416: fix-ppc64-rust_png-build-error.patch
# flatpak sandbox patches from
# https://github.com/flathub/org.chromium.Chromium/tree/master/patches/chromium
-Patch416: flatpak-Add-initial-sandbox-support.patch
-Patch417: flatpak-Adjust-paths-for-the-sandbox.patch
-Patch418: flatpak-Expose-Widevine-into-the-sandbox.patch
+Patch500: flatpak-Add-initial-sandbox-support.patch
+Patch501: flatpak-Adjust-paths-for-the-sandbox.patch
+Patch502: flatpak-Expose-Widevine-into-the-sandbox.patch
# upstream patches
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4636
# https://chromium-review.googlesource.com/c/chromium/src/+/6421030
-Patch500: chromium-135-add-cfi-suppressions-for-pipewire-functions.patch
+Patch600: chromium-135-add-cfi-suppressions-for-pipewire-functions.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
# http://build.chromium.org/buildbot/official/
@@ -1125,16 +1127,17 @@ Qt6 UI for chromium.
%patch -P413 -p1 -b .fix-unknown-warning-option-messages
%patch -P414 -p1 -b .rust-add-ppc64-case
%patch -P415 -p1 -b .add-ppc64-pthread-stack-size
+%patch -P416 -p1 -b .ppc64-rust_png-build-error
%endif
%if 0%{?flatpak}
-%patch -P416 -p1 -b .flatpak-initial-sandbox
-%patch -P417 -p1 -b .flatpak-sandbox-paths
-%patch -P418 -p1 -b .flatpak-widevine
+%patch -P500 -p1 -b .flatpak-initial-sandbox
+%patch -P501 -p1 -b .flatpak-sandbox-paths
+%patch -P502 -p1 -b .flatpak-widevine
%endif
# Upstream patches
-%patch -P500 -p1 -b .add-cfi-suppressions-for-pipewire-functions
+%patch -P600 -p1 -b .add-cfi-suppressions-for-pipewire-functions
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
diff --git a/fix-ppc64-rust_png-build-error.patch b/fix-ppc64-rust_png-build-error.patch
new file mode 100644
index 0000000..5098f75
--- /dev/null
+++ b/fix-ppc64-rust_png-build-error.patch
@@ -0,0 +1,11 @@
+diff -up chromium-135.0.7049.52/third_party/skia/experimental/rust_png/ffi/FFI.h.than chromium-135.0.7049.52/third_party/skia/experimental/rust_png/ffi/FFI.h
+--- chromium-135.0.7049.52/third_party/skia/experimental/rust_png/ffi/FFI.h.than 2025-04-03 12:00:57.623069853 +0200
++++ chromium-135.0.7049.52/third_party/skia/experimental/rust_png/ffi/FFI.h 2025-04-03 12:02:42.234420632 +0200
+@@ -10,6 +10,7 @@
+
+ #include <stddef.h>
+ #include <stdint.h>
++#include <memory>
+
+ // TODO(https://crbug.com/356698922): Use a real `#include` if possible.
+ namespace rust {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:07 [rpms/chromium] epel9-next: Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox