public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: - rebase swiftshader-fix-build to fix build error on ppc64le
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 894e38b3191f97953b3ab7cceebcb28f3ea2a951
Author : Than Ngo <than@redhat.com>
Date : 2025-09-04T07:04:06+02:00
Stats : +15/-47 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/894e38b3191f97953b3ab7cceebcb28f3ea2a951?branch=epel9-next
Log:
- rebase swiftshader-fix-build to fix build error on ppc64le
- drop Include-cstddef-to-fix-build fix-ppc64-rust_png-build-error
---
diff --git a/0001-swiftshader-fix-build.patch b/0001-swiftshader-fix-build.patch
index 4588a4d..646e27b 100644
--- a/0001-swiftshader-fix-build.patch
+++ b/0001-swiftshader-fix-build.patch
@@ -1,13 +1,18 @@
-Description: fix swiftshader build issue on ppc64el
-Origin: vendor, https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches/-/blob/chromium-131/patches/ppc64le/third_party/0001-swiftshader-fix-build.patch
-Bug: https://buildd.debian.org/status/fetch.php?pkg=chromium&arch=ppc64el&ver=131.0.6778.204-1&stamp=1734633529&raw=0
-Last-Update: 2024-12-20
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: chromium-140.0.7339.41/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
-===================================================================
---- chromium-140.0.7339.41.orig/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
-+++ chromium-140.0.7339.41/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+diff -up chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn.me chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
+--- chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn.me 2025-09-04 06:47:12.233139911 +0200
++++ chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn 2025-09-04 06:52:37.001661643 +0200
+@@ -1261,6 +1261,8 @@ swiftshader_llvm_source_set("swiftshader
+ "llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp",
+ "llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp",
+ "llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp",
++ "llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp",
++ "llvm/lib/MC/MCAsmInfoXCOFF.cpp",
+ ]
+ }
+
+diff -up chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn.me chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn
+--- chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn.me 2025-09-04 06:45:21.570780130 +0200
++++ chromium-140.0.7339.80/third_party/swiftshader/third_party/llvm-16.0/BUILD.gn 2025-09-04 06:55:56.278501043 +0200
@@ -1599,6 +1599,9 @@ swiftshader_llvm_source_set("swiftshader
"llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp",
"llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp",
diff --git a/0002-Include-cstddef-to-fix-build.patch b/0002-Include-cstddef-to-fix-build.patch
deleted file mode 100644
index bd06640..0000000
--- a/0002-Include-cstddef-to-fix-build.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 82922bf486e9926a171152f61030dfcd53f017b8 Mon Sep 17 00:00:00 2001
-From: Timothy Pearson <tpearson@raptorengineering.com>
-Date: Thu, 30 Aug 2018 17:32:05 -0500
-Subject: [PATCH] Include cstddef to fix build
-
-size_t is not defined unless cstddef is included.
----
- third_party/crashpad/crashpad/compat/linux/sys/user.h | 1 +
-
-Index: chromium-127.0.6533.72/third_party/crashpad/crashpad/compat/linux/sys/user.h
-===================================================================
---- chromium-127.0.6533.72.orig/third_party/crashpad/crashpad/compat/linux/sys/user.h
-+++ chromium-127.0.6533.72/third_party/crashpad/crashpad/compat/linux/sys/user.h
-@@ -15,6 +15,7 @@
- #ifndef CRASHPAD_COMPAT_LINUX_SYS_USER_H_
- #define CRASHPAD_COMPAT_LINUX_SYS_USER_H_
-
-+#include <cstddef>
- #include_next <sys/user.h>
-
- #include <features.h>
diff --git a/chromium.spec b/chromium.spec
index e42255f..42d9e2c 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -371,7 +371,6 @@ Patch383: 0001-swiftshader-fix-build.patch
Patch384: Rtc_base-system-arch.h-PPC.patch
-Patch385: 0002-Include-cstddef-to-fix-build.patch
Patch386: 0004-third_party-crashpad-port-curl-transport-ppc64.patch
Patch387: HACK-third_party-libvpx-use-generic-gnu.patch
@@ -411,8 +410,6 @@ Patch412: add-ppc64-architecture-to-extensions.diff
# Suppress harmless compiler warning messages that appear on ppc64 due to arch-specific warning flags being passed
Patch413: fix-unknown-warning-option-messages.diff
Patch415: add-ppc64-pthread-stack-size.patch
-# Fix build error on el10
-Patch416: fix-ppc64-rust_png-build-error.patch
Patch417: 0001-add-xnn-ppc64el-support.patch
Patch418: 0002-regenerate-xnn-buildgn.patch
@@ -1035,7 +1032,6 @@ Qt6 UI for chromium.
%patch -P382 -p1 -b .0002-third_party-lss-kernel-structs
%patch -P383 -p1 -b .0001-swiftshader-fix-build
%patch -P384 -p1 -b .Rtc_base-system-arch.h-PPC
-%patch -P385 -p1 -b .0002-Include-cstddef-to-fix-build
%patch -P386 -p1 -b .0004-third_party-crashpad-port-curl-transport-ppc64
%patch -P387 -p1 -b .HACK-third_party-libvpx-use-generic-gnu
%patch -P388 -p1 -b .0001-third-party-hwy-wrong-include.patch
@@ -1065,7 +1061,6 @@ Qt6 UI for chromium.
%patch -P412 -p1 -b .add-ppc64-architecture-to-extensions
%patch -P413 -p1 -b .fix-unknown-warning-option-messages
%patch -P415 -p1 -b .add-ppc64-pthread-stack-size
-%patch -P416 -p1 -b .ppc64-rust_png-build-error
%patch -P417 -p1 -b .0001-add-xnn-ppc64el-support
%patch -P418 -p1 -b .0002-regenerate-xnn-buildgn
%endif
diff --git a/fix-ppc64-rust_png-build-error.patch b/fix-ppc64-rust_png-build-error.patch
deleted file mode 100644
index 5098f75..0000000
--- a/fix-ppc64-rust_png-build-error.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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:08 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:08 [rpms/chromium] epel9-next: - rebase swiftshader-fix-build to fix build error on 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