[packages/lrzip] Rel 2
arekm
arekm at pld-linux.org
Mon Mar 9 21:15:53 CET 2026
commit 13648a3c823d78fc3d7e87636d24652974055f5e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 21:15:36 2026 +0100
Rel 2
lrzip-format.patch | 32 ++++++++++++++++++++++++++++++++
lrzip.spec | 7 ++++++-
2 files changed, 38 insertions(+), 1 deletion(-)
---
diff --git a/lrzip.spec b/lrzip.spec
index 0f644ca..74a86b7 100644
--- a/lrzip.spec
+++ b/lrzip.spec
@@ -5,17 +5,21 @@
%ifnarch %{ix86} %{x8664}
%undefine with_asm
%endif
+%ifarch x32
+%undefine with_asm
+%endif
Summary: Long Range ZIP or Lzma RZIP
Summary(pl.UTF-8): Long Range ZIP lub Lzma RZIP
Name: lrzip
Version: 0.660
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/Archiving
Source0: https://github.com/ckolivas/lrzip/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: b4163b9bb9ed03d5cb858cdbe465f793
URL: https://github.com/ckolivas/lrzip
+Patch0: %{name}-format.patch
BuildRequires: autoconf >= 2.71
BuildRequires: automake
BuildRequires: bzip2-devel
@@ -47,6 +51,7 @@ Dekompresja jest zawsze dużo szybsza niż bzip2.
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/lrzip-format.patch b/lrzip-format.patch
new file mode 100644
index 0000000..d9ea67a
--- /dev/null
+++ b/lrzip-format.patch
@@ -0,0 +1,32 @@
+--- lrzip-0.660/stream.c.orig 2026-03-09 21:13:24.656355559 +0100
++++ lrzip-0.660/stream.c 2026-03-09 21:13:08.053022223 +0100
+@@ -446,7 +446,7 @@
+ c_buf = ucthread->s_buf;
+ ucthread->s_buf = malloc(round_up_page(control, dlen));
+ if (unlikely(!ucthread->s_buf)) {
+- print_err("Failed to allocate %ld bytes for decompression\n", dlen);
++ print_err("Failed to allocate %"PRId64" bytes for decompression\n", dlen);
+ ret = -1;
+ goto out;
+ }
+@@ -462,7 +462,7 @@
+ goto out;
+ }
+ if (unlikely(dlen != ucthread->u_len)) {
+- print_err("Inconsistent length after decompression. Got %ld bytes, expected %"PRId64"\n", dlen, ucthread->u_len);
++ print_err("Inconsistent length after decompression. Got %"PRId64" bytes, expected %"PRId64"\n", dlen, ucthread->u_len);
+ ret = -1;
+ } else
+ dealloc(c_buf);
+@@ -1950,9 +1950,9 @@
+ } while (test_len <= dlen);
+
+ if (!ret)
+- print_maxverbose("lz4 testing FAILED for chunk %ld. %d Passes\n", s_len, workcounter);
++ print_maxverbose("lz4 testing FAILED for chunk %"PRId64". %d Passes\n", s_len, workcounter);
+ else {
+- print_maxverbose("lz4 testing OK for chunk %ld. Compressed size = %5.2F%% of chunk, %d Passes\n",
++ print_maxverbose("lz4 testing OK for chunk %"PRId64". Compressed size = %5.2F%% of chunk, %d Passes\n",
+ s_len, 100 * ((double) best_dlen / (double) test_len), workcounter);
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lrzip.git/commitdiff/13648a3c823d78fc3d7e87636d24652974055f5e
More information about the pld-cvs-commit
mailing list