cef/dawn-fix-ppc64le-detection.patch
Than Ngo 28dc83db64 Update to 140.0.7339.80 (rhbz#2396308)
- * Update to cef-140.1.15+gfaef09b (rhbz#2380429) (Asahi Lina)
- * CVE-2025-9864: Use after free in V8
- * CVE-2025-9865: Inappropriate implementation in Toolbar
- * CVE-2025-9866: Inappropriate implementation in Extensions
- * CVE-2025-9867: Inappropriate implementation in Downloads
2025-09-30 22:13:00 +09:00

19 lines
716 B
Diff

Index: chromium-140.0.7339.41/third_party/dawn/src/dawn/common/Platform.h
===================================================================
--- chromium-140.0.7339.41.orig/third_party/dawn/src/dawn/common/Platform.h
+++ chromium-140.0.7339.41/third_party/dawn/src/dawn/common/Platform.h
@@ -163,10 +163,12 @@
#elif defined(__s390x__)
#define DAWN_PLATFORM_IS_S390X 1
-#elif defined(__PPC__)
-#define DAWN_PLATFORM_IS_PPC 1
+// Order matters here
+// PPC64 also defines PPC, which can lead to detection failures on ppc64le systems
#elif defined(__PPC64__)
#define DAWN_PLATFORM_IS_PPC64 1
+#elif defined(__PPC__)
+#define DAWN_PLATFORM_IS_PPC 1
#elif defined(__wasm32__)
#define DAWN_PLATFORM_IS_WASM32 1