aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libarchive')
-rwxr-xr-xextra/libarchive/build3
-rw-r--r--extra/libarchive/checksums3
-rw-r--r--extra/libarchive/patches/replace-namelen.patch31
-rw-r--r--extra/libarchive/sources3
-rw-r--r--extra/libarchive/version2
5 files changed, 3 insertions, 39 deletions
diff --git a/extra/libarchive/build b/extra/libarchive/build
index d6ec4493..d069befd 100755
--- a/extra/libarchive/build
+++ b/extra/libarchive/build
@@ -1,8 +1,5 @@
#!/bin/sh -e
-# See: https://github.com/libarchive/libarchive/pull/1924
-patch -p1 < replace-namelen.patch
-
./configure \
--prefix=/usr \
--without-nettle \
diff --git a/extra/libarchive/checksums b/extra/libarchive/checksums
index c685c0e0..a60db020 100644
--- a/extra/libarchive/checksums
+++ b/extra/libarchive/checksums
@@ -1,3 +1,2 @@
%BLAKE3
-da8a5af4e425d0a8fc44b486c54e0068589417c18485a2d44d7c40af37893301 libarchive-3.7.0.tar.xz
-b7fc2796cc307269f6c1614564d93dc8b4339ec6ff467851b0b4c9ba992eaf24 replace-namelen.patch
+4fb5e0451c71bc16a359ae17c3eba53727e1f66349a9eb8bdba4150d8ef3d164 libarchive-3.7.2.tar.xz
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 <hswong3i@pantarei-design.com>
-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 <hswong3i@pantarei-design.com>
----
- 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
diff --git a/extra/libarchive/sources b/extra/libarchive/sources
index 3d5e64bf..5ba31acb 100644
--- a/extra/libarchive/sources
+++ b/extra/libarchive/sources
@@ -1,2 +1 @@
-https://github.com/libarchive/libarchive/releases/download/v3.7.0/libarchive-3.7.0.tar.xz
-patches/replace-namelen.patch
+https://github.com/libarchive/libarchive/releases/download/v3.7.2/libarchive-3.7.2.tar.xz
diff --git a/extra/libarchive/version b/extra/libarchive/version
index 68796f59..9cab2d63 100644
--- a/extra/libarchive/version
+++ b/extra/libarchive/version
@@ -1 +1 @@
-3.7.0 1
+3.7.2 1