libexplain rebuild

This commit is contained in:
Rmys
2021-03-19 20:02:19 +03:00
committed by GitHub
parent 9dee8b27eb
commit 2c7f10d7b0
7 changed files with 218 additions and 5 deletions
@@ -0,0 +1,19 @@
Index: libexplain/ac/fcntl.h
===================================================================
--- libexplain/ac/fcntl.h.orig
+++ libexplain/ac/fcntl.h
@@ -65,8 +65,14 @@
* flags values returned by the kernel.
*/
#if defined(__linux__) && (O_LARGEFILE == 0)
+#if defined(__aarch64__)
+#define O_LARGEFILE_HIDDEN 0400000
+#elif defined(__powerpc64__)
+#define O_LARGEFILE_HIDDEN 0200000
+#else
#define O_LARGEFILE_HIDDEN 0100000
#endif
+#endif
/*