SHA256
1
0
forked from pool/fakeroot
fakeroot/stat-ver-riscv.patch
2021-05-17 09:58:35 +00:00

14 lines
377 B
Diff

Index: fakeroot-1.25.3/libfakeroot.c
===================================================================
--- fakeroot-1.25.3.orig/libfakeroot.c
+++ fakeroot-1.25.3/libfakeroot.c
@@ -91,7 +91,7 @@
#endif
#ifndef _STAT_VER
- #if defined (__aarch64__)
+ #if defined (__aarch64__) || defined (__riscv)
#define _STAT_VER 0
#elif defined (__x86_64__)
#define _STAT_VER 1