public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel10.2: Fix build error on aarch64 and ppc64le
@ 2026-06-06 7:00 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-06-06 7:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel10.2
Commit : e6b20bd1420330edc4f97c53660c7943277664b8
Author : Than Ngo <than@redhat.com>
Date : 2026-06-06T08:18:47+02:00
Stats : +23/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/e6b20bd1420330edc4f97c53660c7943277664b8?branch=epel10.2
Log:
Fix build error on aarch64 and ppc64le
---
diff --git a/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch b/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
index 9653472..5bcf8a3 100644
--- a/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
+++ b/0001-Add-pregenerated-config-for-libaom-on-ppc64.patch
@@ -1737,7 +1737,7 @@ Index: chromium-149.0.7827.53/third_party/libaom/source/config/linux/ppc64/confi
+void av1_get_horver_correlation_full_c(const int16_t *diff, int stride, int w, int h, float *hcorr, float *vcorr);
+#define av1_get_horver_correlation_full av1_get_horver_correlation_full_c
+
-+void av1_get_nz_map_contexts_c(const uint8_t *const levels, const int16_t *const scan, const uint16_t eob, const TX_SIZE tx_size, const TX_CLASS tx_class, int8_t *const coeff_contexts);
++void av1_get_nz_map_contexts_c(const uint8_t *const levels, const int16_t *const scan, const int eob, const TX_SIZE tx_size, const TX_CLASS tx_class, int8_t *const coeff_contexts);
+#define av1_get_nz_map_contexts av1_get_nz_map_contexts_c
+
+void av1_highbd_inv_txfm_add_c(const tran_low_t *input, uint8_t *dest, int stride, const TxfmParam *txfm_param);
diff --git a/chromium-149-aarch64-log-error.patch b/chromium-149-aarch64-log-error.patch
new file mode 100644
index 0000000..7c35834
--- /dev/null
+++ b/chromium-149-aarch64-log-error.patch
@@ -0,0 +1,15 @@
+Fixed build error on aarch64
+
+error: use of undeclared identifier 'ERROR'
+
+diff -up chromium-149.0.7827.53/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.mee chromium-149.0.7827.53/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
+--- chromium-149.0.7827.53/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.mee 2026-06-05 22:00:18.004795141 +0200
++++ chromium-149.0.7827.53/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc 2026-06-05 22:01:15.977407830 +0200
+@@ -8,6 +8,7 @@
+ #include <sys/stat.h>
+
+ #include "base/process/process_metrics.h"
++#include "base/logging.h"
+ #include "base/strings/stringprintf.h"
+ #include "build/build_config.h"
+ #include "media/gpu/buildflags.h"
diff --git a/chromium.spec b/chromium.spec
index 3bb7028..fa9e59a 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -409,6 +409,9 @@ Patch318: memory-allocator-dcheck-assert-fix.patch
# compile swiftshader against llvm-16.0
Patch319: chromium-143-swiftshader-llvm-16.0.patch
+# Fix build error on fedora aarch64
+Patch320: chromium-149-aarch64-log-error.patch
+
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2239523
# https://bugs.chromium.org/p/chromium/issues/detail?id=1145581#c60
# Disable BTI until this is fixed upstream.
@@ -1152,6 +1155,10 @@ Qt6 UI for chromium.
%patch -P318 -p1 -b .memory-allocator-dcheck-assert-fix
%patch -P319 -p1 -b .swiftshader-llvm-16.0
+%ifarch aarch64 && 0%{?fedora}
+%patch -P320 -p1 -b .aarch64-log-error
+%endif
+
%if %{disable_bti}
%patch -P352 -p1 -b .workaround_for_crash_on_BTI_capable_system
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 7:00 [rpms/chromium] epel10.2: Fix build error on aarch64 and ppc64le Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox