summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-01-21 12:50:58 +0100
committerRichard Leitner <richard.leitner@skidata.com>2020-01-21 12:50:58 +0100
commit12c4dd84c20887dc693c3616865030a962d0e0f0 (patch)
treec7ba1b59b05fab611fa04dcb88eb770f8a0fdffa /recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch
parent7fd027f56e1565aedf7854479f42537b591509d0 (diff)
downloadmeta-java-12c4dd84c20887dc693c3616865030a962d0e0f0.tar.gz
icedtea7-native: add patch to fix xattr include path
As attr dropped the <attr/xattr.h> header use <sys/xattr.h> instead. http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch')
-rw-r--r--recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch
new file mode 100644
index 0000000..9b94dc8
--- /dev/null
+++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-fix-xattr-include.patch
@@ -0,0 +1,11 @@
1--- openjdk/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c
2+++ openjdk/jdk/src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c
3@@ -37,7 +37,7 @@
4
5 #ifdef COMPILE_AGAINST_SYSCALLS
6 #include <sys/types.h>
7-#include <attr/xattr.h>
8+#include <sys/xattr.h>
9 #else
10 #include <syscalls_fp.h>
11 #endif