[packages/libarchive] Up to 3.7.3
arekm
arekm at pld-linux.org
Tue Apr 9 09:26:26 CEST 2024
commit c6304e2a9bdecebfd535d1bc5c22442428d57f51
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Apr 9 08:09:53 2024 +0200
Up to 3.7.3
errno.patch | 27 ---------------------------
libarchive.spec | 8 +++-----
2 files changed, 3 insertions(+), 32 deletions(-)
---
diff --git a/libarchive.spec b/libarchive.spec
index 31e5f12..5362f1a 100644
--- a/libarchive.spec
+++ b/libarchive.spec
@@ -5,16 +5,15 @@
Summary: Multi-format archive and compression library
Summary(pl.UTF-8): Biblioteka do archiwizacji i kompresji w wielu formatach
Name: libarchive
-Version: 3.7.2
-Release: 2
+Version: 3.7.3
+Release: 1
License: BSD
Group: Libraries
# see main page, downloads index may be out of date
#Source0Download: http://www.libarchive.org/
Source0: https://www.libarchive.org/downloads/%{name}-%{version}.tar.xz
-# Source0-md5: 4f4ef6a17c7b0b484aa2c95aa6deefac
+# Source0-md5: b60683739a16ff6f00f32aa3516402ed
Patch0: %{name}-man_progname.patch
-Patch1: errno.patch
URL: http://www.libarchive.org/
BuildRequires: acl-devel
BuildRequires: attr-devel
@@ -144,7 +143,6 @@ bsdunzip - implementacja programu unzip(1), oparta na libarchive.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
diff --git a/errno.patch b/errno.patch
deleted file mode 100644
index 6a351ba..0000000
--- a/errno.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 6110e9c82d8ba830c3440f36b990483ceaaea52c Mon Sep 17 00:00:00 2001
-From: Ed Maste <emaste at freebsd.org>
-Date: Fri, 29 Mar 2024 18:02:06 -0400
-Subject: [PATCH] tar: make error reporting more robust and use correct errno
- (#2101)
-
-As discussed in #1609.
----
- tar/read.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/tar/read.c b/tar/read.c
-index af3d3f423..a7f14a07b 100644
---- a/tar/read.c
-+++ b/tar/read.c
-@@ -371,8 +371,9 @@ read_archive(struct bsdtar *bsdtar, char mode, struct archive *writer)
- if (r != ARCHIVE_OK) {
- if (!bsdtar->verbose)
- safe_fprintf(stderr, "%s", archive_entry_pathname(entry));
-- fprintf(stderr, ": %s: ", archive_error_string(a));
-- fprintf(stderr, "%s", strerror(errno));
-+ safe_fprintf(stderr, ": %s: %s",
-+ archive_error_string(a),
-+ strerror(archive_errno(a)));
- if (!bsdtar->verbose)
- fprintf(stderr, "\n");
- bsdtar->return_value = 1;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libarchive.git/commitdiff/c6304e2a9bdecebfd535d1bc5c22442428d57f51
More information about the pld-cvs-commit
mailing list