forked from pool/fakeroot
5870afd113
- stat-ver-riscv.patch: fix _STAT_VER on riscv - reenable testsuite OBS-URL: https://build.opensuse.org/request/show/893661 OBS-URL: https://build.opensuse.org/package/show/devel:tools/fakeroot?expand=0&rev=29
14 lines
377 B
Diff
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
|