# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/tar/hotfix-xattrs.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- xattrs.c:142:14: error: conflicting types for ‘acl_get_file_at’; have ‘struct __acl_ext *(int, const char *, acl_type_t)’ {aka ‘struct __acl_ext*(int, const char *, unsigned int)’} --- tar-1.35/src/xattrs.c.vanilla 2026-06-30 20:35:02.559143751 +0200 +++ tar-1.35/src/xattrs.c 2026-06-30 21:05:57.937042203 +0200 @@ -138,6 +138,11 @@ #ifdef HAVE_POSIX_ACLS +#define acl_get_file_at gnuacl_get_file_at +#define acl_set_file_at gnuacl_set_file_at +#define file_has_acl_at gnufile_has_acl_at +#define acl_delete_def_file_at gnuacl_delete_def_file_at + /* acl-at wrappers, TODO: move to gnulib in future? */ static acl_t acl_get_file_at (int, const char *, acl_type_t); static int acl_set_file_at (int, const char *, acl_type_t, acl_t);