Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tar for openSUSE:Factory checked in 
at 2026-07-20 09:56:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tar (Old)
 and      /work/SRC/openSUSE:Factory/.tar.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tar"

Mon Jul 20 09:56:45 2026 rev:91 rq:1366347 version:1.35

Changes:
--------
--- /work/SRC/openSUSE:Factory/tar/tar.changes  2026-06-25 10:54:55.104635532 
+0200
+++ /work/SRC/openSUSE:Factory/.tar.new.24530/tar.changes       2026-07-20 
09:56:49.619056204 +0200
@@ -1,0 +2,8 @@
+Mon Jul 13 16:01:05 UTC 2026 - Dominique Leuenberger <[email protected]>
+
+- Add tar-acl_-prefix.patch: Avoid acl_ prefix for functions
+  The acl.h header from libacl uses acl_ prefix for its functions.
+  Avoid defining functions with the same name in order to protect
+  its namespace.
+
+-------------------------------------------------------------------

New:
----
  tar-acl_-prefix.patch

----------(New B)----------
  New:
- Add tar-acl_-prefix.patch: Avoid acl_ prefix for functions
  The acl.h header from libacl uses acl_ prefix for its functions.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.8PMwrD/_old  2026-07-20 09:56:50.427083394 +0200
+++ /var/tmp/diff_new_pack.8PMwrD/_new  2026-07-20 09:56:50.431083528 +0200
@@ -66,6 +66,8 @@
 # PATCH-FIX-UPSTREAM [email protected] bsc#1267189
 # Fix extraction failure for paths like "a/./b" caused by the gnulib openat2 
implementation
 Patch23:        openat2-fix-dotlike-failure.patch
+# PATCH-FIX-UPSTREAM 
https://cgit.git.savannah.gnu.org/cgit/tar.git/patch/?id=08c3fc2e9337094aff01a511170fd35fdb8f1ee3
+Patch24:        tar-acl_-prefix.patch
 BuildRequires:  automake >= 1.15
 BuildRequires:  libacl-devel
 BuildRequires:  libselinux-devel


++++++ tar-acl_-prefix.patch ++++++
diff -ur a/src/xattrs.c b/src/xattrs.c
--- a/src/xattrs.c      2026-07-13 15:59:11.421152651 +0000
+++ b/src/xattrs.c      2026-07-13 15:57:23.884268644 +0000
@@ -139,13 +139,13 @@
 #ifdef HAVE_POSIX_ACLS
 
 /* 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);
+static acl_t tar_acl_get_file_at (int, const char *, acl_type_t);
+static int tar_acl_set_file_at (int, const char *, acl_type_t, acl_t);
 static int file_has_acl_at (int, char const *, struct stat const *);
-static int acl_delete_def_file_at (int, char const *);
+static int tar_acl_delete_def_file_at (int, char const *);
 
-/* acl_get_file_at */
-#define AT_FUNC_NAME acl_get_file_at
+/* tar_acl_get_file_at */
+#define AT_FUNC_NAME tar_acl_get_file_at
 #define AT_FUNC_RESULT acl_t
 #define AT_FUNC_FAIL (acl_t)NULL
 #define AT_FUNC_F1 acl_get_file
@@ -159,8 +159,8 @@
 #undef AT_FUNC_POST_FILE_PARAM_DECLS
 #undef AT_FUNC_POST_FILE_ARGS
 
-/* acl_set_file_at */
-#define AT_FUNC_NAME acl_set_file_at
+/* tar_acl_set_file_at */
+#define AT_FUNC_NAME tar_acl_set_file_at
 #define AT_FUNC_F1 acl_set_file
 #define AT_FUNC_POST_FILE_PARAM_DECLS   , acl_type_t type, acl_t acl
 #define AT_FUNC_POST_FILE_ARGS          , type, acl
@@ -170,8 +170,8 @@
 #undef AT_FUNC_POST_FILE_PARAM_DECLS
 #undef AT_FUNC_POST_FILE_ARGS
 
-/* acl_delete_def_file_at */
-#define AT_FUNC_NAME acl_delete_def_file_at
+/* tar_acl_delete_def_file_at */
+#define AT_FUNC_NAME tar_acl_delete_def_file_at
 #define AT_FUNC_F1 acl_delete_def_file
 #define AT_FUNC_POST_FILE_PARAM_DECLS
 #define AT_FUNC_POST_FILE_ARGS
@@ -300,10 +300,10 @@
          FILE_NAME may already have inherited default acls from parent
          directory;  clean them up. */
       struct fdbase f1 = fdbase (file_name);
-      if (f1.fd == BADFD || acl_delete_def_file_at (f1.fd, f1.base) < 0)      
+      if (f1.fd == BADFD || tar_acl_delete_def_file_at (f1.fd, f1.base) < 0)   
   
         WARNOPT (WARN_XATTR_WRITE,
                 (0, errno,
-                 _("acl_delete_def_file_at: Cannot drop default POSIX ACLs "
+                 _("tar_acl_delete_def_file_at: Cannot drop default POSIX ACLs 
"
                    "for file '%s'"),
                  file_name));
       return;
@@ -318,11 +318,11 @@
     }
 
   struct fdbase f = fdbase (file_name);
-  if (f.fd == BADFD || acl_set_file_at (f.fd, f.base, type, acl) < 0)
+  if (f.fd == BADFD || tar_acl_set_file_at (f.fd, f.base, type, acl) < 0)
     /* warn even if filesystem does not support acls */
     WARNOPT (WARN_XATTR_WRITE,
             (0, errno,
-             _ ("acl_set_file_at: Cannot set POSIX ACLs for file '%s'"),
+             _ ("tar_acl_set_file_at: Cannot set POSIX ACLs for file '%s'"),
              file_name));
 
   acl_free (acl);
@@ -359,10 +359,10 @@
   char *val = NULL;
   acl_t acl;
 
-  if (!(acl = acl_get_file_at (parentfd, file_name, type)))
+  if (!(acl = tar_acl_get_file_at (parentfd, file_name, type)))
     {
       if (errno != ENOTSUP)
-        call_arg_warn ("acl_get_file_at", file_name);
+        call_arg_warn ("tar_acl_get_file_at", file_name);
       return;
     }
 

Reply via email to