aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk7/icedtea-jdk-xattr.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-05-30 10:16:56 +0300
committerTimo Teräs <timo.teras@iki.fi>2019-05-30 11:50:58 +0300
commit4f39179461ef66f69bd83fe0024e1cf27a566a1e (patch)
tree0e914af5a25d66cfbe6055d1760255574166b303 /community/openjdk7/icedtea-jdk-xattr.patch
parent88bf0a62b29226b6671edcd3a569b427e5177317 (diff)
downloadaports-4f39179461ef66f69bd83fe0024e1cf27a566a1e.tar.bz2
aports-4f39179461ef66f69bd83fe0024e1cf27a566a1e.tar.xz
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.
Diffstat (limited to 'community/openjdk7/icedtea-jdk-xattr.patch')
-rw-r--r--community/openjdk7/icedtea-jdk-xattr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/openjdk7/icedtea-jdk-xattr.patch b/community/openjdk7/icedtea-jdk-xattr.patch
new file mode 100644
index 0000000000..4675ba2099
--- /dev/null
+++ b/community/openjdk7/icedtea-jdk-xattr.patch
@@ -0,0 +1,11 @@
+--- 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