File riscv-angle.patch of Package nodejs-electron
Index: src/third_party/angle/src/common/platform.h
===================================================================
--- src.orig/third_party/angle/src/common/platform.h
+++ src/third_party/angle/src/common/platform.h
@@ -118,7 +118,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