public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel10: Fix build error on aarch64 and ppc64le
Date: Sat, 06 Jun 2026 06:25:13 GMT	[thread overview]
Message-ID: <178072711371.1.2075147261301728439.rpms-chromium-e6b20bd14203@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel10
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

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

                 reply	other threads:[~2026-06-06  6:25 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=178072711371.1.2075147261301728439.rpms-chromium-e6b20bd14203@fedoraproject.org \
    --to=than@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