Files
chromium-dev/ppc-fedora-add-ppc64-architecture-to-extensions.diff

28 lines
1.6 KiB
Diff
Raw Normal View History

2025-05-14 14:04:59 +02:00
Index: chromium-128.0.6613.113/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
===================================================================
--- 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
2025-10-24 16:29:30 +02:00
@@ -383,6 +383,8 @@
2025-05-14 14:04:59 +02:00
info->arch = extensions::api::runtime::PlatformArch::kMips64;
2025-10-24 16:29:30 +02:00
} else if (arch == "riscv64") {
2025-08-07 23:02:12 +02:00
info->arch = extensions::api::runtime::PlatformArch::kRiscv64;
2025-10-24 16:29:30 +02:00
+ } else if (arch == "ppc64") {
2025-05-14 14:04:59 +02:00
+ info->arch = extensions::api::runtime::PlatformArch::kPpc64;
} else {
NOTREACHED();
}
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
2025-08-07 23:02:12 +02:00
@@ -99,7 +99,8 @@
2025-05-14 14:04:59 +02:00
{"name": "x86-64", "description": "Specifies the processer architecture as x86-64."},
{"name": "mips", "description": "Specifies the processer architecture as mips."},
2025-08-07 23:02:12 +02:00
{"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."},
2025-05-14 14:04:59 +02:00
+ {"name": "ppc64", "description": "Specifies the processer architecture as ppc64."}
],
"description": "The machine's processor architecture."
},