diff options
author | Timo Teräs <timo.teras@iki.fi> | 2019-05-30 10:16:56 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2019-05-30 11:50:58 +0300 |
commit | 4f39179461ef66f69bd83fe0024e1cf27a566a1e (patch) | |
tree | 0e914af5a25d66cfbe6055d1760255574166b303 /community/openjdk7/fix-xattr-include.patch | |
parent | 88bf0a62b29226b6671edcd3a569b427e5177317 (diff) | |
download | aports-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/fix-xattr-include.patch')
-rw-r--r-- | community/openjdk7/fix-xattr-include.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/openjdk7/fix-xattr-include.patch b/community/openjdk7/fix-xattr-include.patch new file mode 100644 index 0000000000..7bba754d3e --- /dev/null +++ b/community/openjdk7/fix-xattr-include.patch @@ -0,0 +1,13 @@ +--- icedtea-2.6.17.orig/acinclude.m4 2019-05-30 09:49:34.952140696 +0300 ++++ icedtea-2.6.17/acinclude.m4 2019-05-30 09:50:28.231483929 +0300 +@@ -2271,8 +2271,8 @@ + dnl Check for syscalls + AC_CHECK_FUNCS([openat64 fstatat64 fgetxattr fsetxattr fremovexattr flistxattr unlinkat renameat futimesat fdopendir epoll_create epoll_ctl epoll_wait],, + [AC_MSG_ERROR([Could not find required syscalls; check config.log and use --disable-compile-against-syscalls if necessary.])]) +- AC_CHECK_HEADERS([sys/epoll.h attr/xattr.h], +- , [AC_MSG_ERROR([Could not find required system headers; install the appropriate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-dev or use --disable-compile-against-syscalls if necessary.])]) ++ AC_CHECK_HEADERS([sys/epoll.h sys/xattr.h], ++ , [AC_MSG_ERROR([Could not find required system headers; install the appropriate files from glibc-headers or libc6-dev or use --disable-compile-against-syscalls if necessary.])]) + ENABLE_SYSCALL_COMPILATION=true + fi + AM_CONDITIONAL(USE_SYSCALL_COMPILATION, test x"${ENABLE_SYSCALL_COMPILATION}" = "xtrue") |