summaryrefslogtreecommitdiff
path: root/riscv-angle.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-20 03:46:37 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-20 03:46:37 +0000
commitfa06f8afb826bc7e16e2919c3b6feee02417ce28 (patch)
tree042a9bca624cc1e2a2c3dd7ef4943f0ac042556f /riscv-angle.patch
parent5e81daef691f9d194780705f7af7e5f84133315e (diff)
automatic import of chromiumopeneuler23.09
Diffstat (limited to 'riscv-angle.patch')
-rw-r--r--riscv-angle.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/riscv-angle.patch b/riscv-angle.patch
new file mode 100644
index 0000000..f474698
--- /dev/null
+++ b/riscv-angle.patch
@@ -0,0 +1,13 @@
+Index: chromium-115.0.5790.98/third_party/angle/src/common/platform.h
+===================================================================
+--- chromium-115.0.5790.98.orig/third_party/angle/src/common/platform.h
++++ chromium-115.0.5790.98/third_party/angle/src/common/platform.h
+@@ -108,7 +108,7 @@
+ #endif
+
+ // Mips and arm devices need to include stddef for size_t.
+-#if defined(__mips__) || defined(__arm__) || defined(__aarch64__)
++#if defined(__mips__) || defined(__arm__) || defined(__aarch64__) || defined(__riscv)
+ # include <stddef.h>
+ #endif
+