Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/java7-openjdk/fix-xattr-include.patch
blob: 7bba754d3e8d8326c2f6225ca090ccb8999721bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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")