Package: openjdk-24 / 24.0.2+12-1

mips.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# DP: Untested patch suggested to fix #983878

--- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
+++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c
@@ -227,7 +227,7 @@ static statx_func* my_statx_func = NULL;
 /**
  * fstatat missing from glibc on Linux.
  */
-#if defined(__linux__) && (defined(__i386) || defined(__arm__))
+#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64)))
 #define FSTATAT64_SYSCALL_AVAILABLE
 static int fstatat_wrapper(int dfd, const char *path,
                              struct stat *statbuf, int flag)