diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 12:17:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-08-12 12:17:05 +0000 |
commit | 8ef52d5c62c221e7f2e22297762beab1069bcdfe (patch) | |
tree | e9d04ac1b6e5a45ff4f0215af3827442b1df1d52 /app-arch/tar/files | |
parent | require autoconf-2.69 now that it is stable for a while #507374 (diff) | |
download | historical-8ef52d5c62c221e7f2e22297762beab1069bcdfe.tar.gz historical-8ef52d5c62c221e7f2e22297762beab1069bcdfe.tar.bz2 historical-8ef52d5c62c221e7f2e22297762beab1069bcdfe.zip |
Do not patch m4 files to avoid regenerating autotools #516166 by Rodrigo Severo.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'app-arch/tar/files')
-rw-r--r-- | app-arch/tar/files/tar-1.27.1-xattr_build_fix.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/app-arch/tar/files/tar-1.27.1-xattr_build_fix.patch b/app-arch/tar/files/tar-1.27.1-xattr_build_fix.patch index b3e39f30b17e..14cf90a5f4cc 100644 --- a/app-arch/tar/files/tar-1.27.1-xattr_build_fix.patch +++ b/app-arch/tar/files/tar-1.27.1-xattr_build_fix.patch @@ -1,49 +1,6 @@ http://lists.gnu.org/archive/html/bug-tar/2013-12/msg00023.html https://bugs.gentoo.org/489170 ---- tar-1.27.1/acinclude.m4 2013-03-14 21:18:09.000000000 +0100 -+++ tar-1.27.1/acinclude.m4 2013-03-14 21:18:09.000000000 +0100 -@@ -37,18 +37,27 @@ - [], [with_xattrs=maybe] - ) - -- AC_CHECK_HEADERS([attr/xattr.h]) -- AM_CONDITIONAL([TAR_COND_XATTR_H],[test "$ac_cv_header_attr_xattr_h" = yes]) -- if test "$ac_cv_header_attr_xattr_h" = yes; then -- AC_CHECK_FUNCS(getxattr fgetxattr lgetxattr \ -- setxattr fsetxattr lsetxattr \ -- listxattr flistxattr llistxattr, -- # only when functions are present -- AC_DEFINE([HAVE_ATTR_XATTR_H], [1], -- [define to 1 if we have <attr/xattr.h> header]) -- if test "$with_xattrs" != no; then -- AC_DEFINE([HAVE_XATTRS],,[Define when we have working linux xattrs.]) -- fi -- ) -+ AC_CHECK_HEADERS([sys/xattr.h attr/xattr.h]) -+ AM_CONDITIONAL([TAR_COND_XATTR_H], -+ [test "$ac_cv_header_sys_xattr_h" = yes -o "$ac_cv_header_attr_xattr_h" = yes]) -+ -+ if test "$with_xattrs" != no; then -+ # If <sys/xattr.h> doesn't exist and <attr/xattr.h> does, -+ # then link against libattr.so and not libc -+ if test "$ac_cv_header_sys_xattr_h" = no -a "$ac_cv_header_attr_xattr_h" = yes; then -+ AC_CHECK_LIB([attr],[fgetxattr]) -+ fi -+ have_functions=yes -+ for xattr_func in getxattr fgetxattr lgetxattr \ -+ setxattr fsetxattr lsetxattr \ -+ listxattr flistxattr llistxattr; do \ -+ AC_SEARCH_LIBS([$xattr_func], [attr],, [have_functions=no]) -+ test $have_functions = no && break -+ done -+ if test $have_functions = yes; then -+ AC_DEFINE([HAVE_XATTRS],[1],[Define when we have working linux xattrs.]) -+ else -+ test "$with_xattrs" = yes && AC_MSG_ERROR([xattr support requested but not found.]) -+ fi - fi - ]) --- tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100 +++ tar-1.27.1/configure 2013-11-17 17:18:39.000000000 +0100 @@ -33619,19 +33619,20 @@ |