From 8e4d99312058847bb6c05a66699fd2320a2828a2 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 12 Sep 2023 12:05:31 +0200 Subject: libarchive: bump to 3.7.2 --- extra/libarchive/patches/replace-namelen.patch | 31 -------------------------- 1 file changed, 31 deletions(-) delete mode 100644 extra/libarchive/patches/replace-namelen.patch (limited to 'extra/libarchive/patches/replace-namelen.patch') diff --git a/extra/libarchive/patches/replace-namelen.patch b/extra/libarchive/patches/replace-namelen.patch deleted file mode 100644 index ccc93be8..00000000 --- a/extra/libarchive/patches/replace-namelen.patch +++ /dev/null @@ -1,31 +0,0 @@ -From dbc79c26d1405537f1a83219289c871f3a8ce018 Mon Sep 17 00:00:00 2001 -From: Wong Hoi Sing Edison -Date: Wed, 19 Jul 2023 16:27:19 +0800 -Subject: [PATCH] Replace `svfs.f_namelen` with `svfs.f_namemax` - -When compile 3.7.0 with CentOS 7 coming with below error message: - - libarchive/archive_read_disk_posix.c:1869:40: error: 'struct statvfs' has no member named 'f_namelen' - -The equivalent for `f_namelen` in struct statvfs is `f_namemax`. - -See http://landley.net/mantis/mantis-346.html - -Signed-off-by: Wong Hoi Sing Edison ---- - libarchive/archive_read_disk_posix.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c -index e9657f6a7..8d5c32f03 100644 ---- a/libarchive/archive_read_disk_posix.c -+++ b/libarchive/archive_read_disk_posix.c -@@ -1866,7 +1866,7 @@ setup_current_filesystem(struct archive_read_disk *a) - #if defined(USE_READDIR_R) - /* Set maximum filename length. */ - #if defined(HAVE_STATVFS) -- t->current_filesystem->name_max = svfs.f_namelen; -+ t->current_filesystem->name_max = svfs.f_namemax; - #else - t->current_filesystem->name_max = sfs.f_namelen; - #endif -- cgit v1.2.3