1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/openjdk7/icedtea-jdk-xattr.patch
Timo Teräs 4f39179461 community/openjdk7: remove attr-dev dependency
In new attr the only needed header attr/xattr.h is removed as obsolete.

The new standard has been for a long time to use sys/xattr.h. Fix openjdk
to use this header and remove the now unneeded attr-dev dependency.
2019-05-30 11:50:58 +03:00

11 lines
384 B
Diff

--- openjdk.orig/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c 2019-05-30 09:55:45.271164370 +0300
+++ openjdk/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c 2019-05-30 09:56:01.000980599 +0300
@@ -38,7 +38,7 @@
#ifdef COMPILE_AGAINST_SYSCALLS
#include <sys/types.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#else
#include <syscalls_fp.h>
#endif