Compare commits

...

4 Commits

Author SHA256 Message Date
Ruediger Oertel
f157fd81a6 update ppc-fedora-add-ppc64-architecture-to-extensions.diff 2025-07-24 16:43:26 +02:00
Ruediger Oertel
25afd093c5 update ppc-fedora-0001-sandbox-linux-Update-syscall-helpers-lists-for-ppc64.patch 2025-07-24 16:04:20 +02:00
Ruediger Oertel
d3f54d469d drop chromium-140-tab_strip_collection-missing-include.patch again 2025-07-24 14:31:07 +02:00
Ruediger Oertel
350bad913a update gcc-enable-lto.patch 2025-07-24 14:20:47 +02:00
6 changed files with 28 additions and 35 deletions

View File

@@ -1,10 +0,0 @@
--- chromium-140.0.7259.2/components/tabs/public/tab_strip_collection.h 2025/07/02 08:56:41 1.1
+++ chromium-140.0.7259.2/components/tabs/public/tab_strip_collection.h 2025/07/02 08:56:47
@@ -7,6 +7,7 @@
#include <memory>
#include <optional>
+#include <set>
#include <unordered_map>
#include "base/types/pass_key.h"

View File

@@ -5,10 +5,10 @@ Sun Jul 20 11:09:24 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
(dev released 2025-07-17)
- modified patches:
chromium-125-compiler.patch
gcc-enable-lto.patch
ppc-fedora-fix-unknown-warning-option-messages.diff
- added patches:
chromium-140-tab_strip_collection-missing-include.patch
(from upstream 7785f9480b78c38e0376e7297b599c4a3b4b1dcc)
ppc-fedora-0001-sandbox-linux-Update-syscall-helpers-lists-for-ppc64.patch
ppc-fedora-add-ppc64-architecture-to-extensions.diff
- change rust_version to 1.86
- keeplibs:
removed buildtools/third_party/eu-strip (gone upstream)

View File

@@ -157,7 +157,6 @@ Patch371: chromium-133-bring_back_and_disable_allowlist.patch
Patch373: chromium-134-type-mismatch-error.patch
Patch375: chromium-131-fix-qt-ui.pach
Patch376: chromium-135-add_map_droppable.patch
Patch377: chromium-140-tab_strip_collection-missing-include.patch
# conditionally applied patches ppc64le only
Patch401: ppc-fedora-add-ppc64-architecture-string.patch
Patch402: ppc-fedora-0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch

View File

@@ -11,8 +11,8 @@ Index: chromium-120.0.6099.18/build/config/BUILDCONFIG.gn
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
(current_cpu != "s390x" && current_cpu != "s390" &&
@@ -354,6 +356,12 @@ default_compiler_configs = [
"//build/config/sanitizers:default_sanitizer_flags",
@@ -389,6 +389,12 @@
"//build/config:feature_flags",
]
+if (gcc_lto) {
@@ -28,8 +28,8 @@ Index: chromium-120.0.6099.18/build/config/compiler/BUILD.gn
===================================================================
--- chromium-120.0.6099.18.orig/build/config/compiler/BUILD.gn
+++ chromium-120.0.6099.18/build/config/compiler/BUILD.gn
@@ -2342,6 +2342,10 @@ if (is_win) {
common_optimize_on_cflags += [ "-fno-math-errno" ]
@@ -2672,6 +2672,10 @@
}
}
+config("gcc_lto") {

View File

@@ -367,7 +367,7 @@ Index: chromium-136.0.7103.48/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
case __NR__llseek:
#endif
#if !defined(__aarch64__)
@@ -604,26 +619,28 @@ bool SyscallSets::IsAllowedGeneralIo(int
@@ -619,18 +619,19 @@
case __NR_readv:
case __NR_pread64:
#if defined(__arm__) || \
@@ -390,14 +390,18 @@ Index: chromium-136.0.7103.48/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+#if defined(__i386__) || defined(__arm__) || defined(__mips__) || defined(__powerpc64__)
case __NR__newselect:
#endif
case __NR_write:
@@ -650,11 +651,12 @@
#endif
// send* syscalls need their flags filtered.
#if defined(__arm__) || \
- (defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
+ (defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS)) || \
+ defined(__powerpc64__)
case __NR_send:
#endif
#if defined(__x86_64__) || defined(__arm__) || defined(__mips__) || \
- defined(__aarch64__)
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || \
- defined(__mips__) || defined(__aarch64__)
+ defined(__aarch64__) || defined(__powerpc64__)
case __NR_sendmsg: // Could specify destination.
case __NR_sendto: // Could specify destination.

View File

@@ -2,19 +2,19 @@ Index: chromium-128.0.6613.113/chrome/browser/extensions/api/runtime/chrome_runt
===================================================================
--- chromium-128.0.6613.113.orig/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
+++ chromium-128.0.6613.113/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
@@ -310,6 +310,8 @@
info->arch = extensions::api::runtime::PlatformArch::kMips;
} else if (strcmp(arch, "mips64el") == 0) {
@@ -348,6 +348,8 @@
info->arch = extensions::api::runtime::PlatformArch::kMips64;
} else if (strcmp(arch, "riscv64") == 0) {
info->arch = extensions::api::runtime::PlatformArch::kRiscv64;
+ } else if (strcmp(arch, "ppc64") == 0) {
+ info->arch = extensions::api::runtime::PlatformArch::kPpc64;
} else {
NOTREACHED();
}
@@ -325,6 +327,8 @@
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips;
} else if (strcmp(nacl_arch, "mips64") == 0) {
@@ -365,6 +367,8 @@
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kMips64;
} else if (strcmp(nacl_arch, "riscv64") == 0) {
info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kRiscv64;
+ } else if (strcmp(nacl_arch, "ppc64") == 0) {
+ info->nacl_arch = extensions::api::runtime::PlatformNaclArch::kPpc64;
} else {
@@ -24,22 +24,22 @@ Index: chromium-128.0.6613.113/extensions/common/api/runtime.json
===================================================================
--- chromium-128.0.6613.113.orig/extensions/common/api/runtime.json
+++ chromium-128.0.6613.113/extensions/common/api/runtime.json
@@ -98,7 +98,8 @@
{"name": "x86-32", "description": "Specifies the processer architecture as x86-32."},
@@ -99,7 +99,8 @@
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
{"name": "mips", "description": "Specifies the processer architecture as mips."},
- {"name": "mips64", "description": "Specifies the processer architecture as mips64."}
+ {"name": "mips64", "description": "Specifies the processer architecture as mips64."},
{"name": "mips64", "description": "Specifies the processer architecture as mips64."},
- {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."}
+ {"name": "riscv64", "description": "Specifies the processer architecture as riscv64."},
+ {"name": "ppc64", "description": "Specifies the processer architecture as ppc64."}
],
"description": "The machine's processor architecture."
},
@@ -111,7 +112,8 @@
{"name": "x86-32", "description": "Specifies the native client architecture as x86-32."},
@@ -113,7 +114,8 @@
{"name": "x86-64", "description": "Specifies the native client architecture as x86-64."},
{"name": "mips", "description": "Specifies the native client architecture as mips."},
- {"name": "mips64", "description": "Specifies the native client architecture as mips64."}
+ {"name": "mips64", "description": "Specifies the native client architecture as mips64."},
{"name": "mips64", "description": "Specifies the native client architecture as mips64."},
- {"name": "riscv64", "description": "Specifies the native client architecture as riscv64."}
+ {"name": "riscv64", "description": "Specifies the native client architecture as riscv64."},
+ {"name": "ppc64", "description": "Specifies the native client architecture as ppc64."}
]
},