summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-01-21 15:46:07 +0100
committerRichard Leitner <richard.leitner@skidata.com>2020-01-21 15:46:07 +0100
commit90c1f4955249381c56b0e8a7bac73a8fe82e67a7 (patch)
tree80961629b93f3ffb79c4c9c4878d7b145af9765c /recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch
parent12c4dd84c20887dc693c3616865030a962d0e0f0 (diff)
downloadmeta-java-90c1f4955249381c56b0e8a7bac73a8fe82e67a7.tar.gz
openjdk-7: 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/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch b/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-fix-xattr-include.patch
new file mode 100644
index 0000000..ef44e7e
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-7/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@@ -38,7 +38,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