- permit files > 2GB to be compressed (#126775).

This commit is contained in:
Than Ngo 2004-10-05 09:15:02 +00:00
parent 876952c25a
commit e2cbff13f0
2 changed files with 17 additions and 1 deletions

11
ncompress-2GB.patch Normal file
View File

@ -0,0 +1,11 @@
--- ncompress-4.2.4/compress42.c.2GB 2004-07-14 12:16:19.000000000 -0400
+++ ncompress-4.2.4/compress42.c 2004-07-14 12:16:59.000000000 -0400
@@ -1329,7 +1329,7 @@
REG11 int boff;
REG12 int n_bits;
REG13 int ratio;
- REG14 long checkpoint;
+ REG14 unsigned long long checkpoint;
REG15 code_int extcode;
union
{

View File

@ -1,13 +1,14 @@
Summary: Fast compression and decompression utilities.
Name: ncompress
Version: 4.2.4
Release: 36
Release: 40
License: distributable
Group: Applications/File
Source: ftp://metalab.unc.edu/pub/Linux/utils/compress/ncompress-4.2.4.tar.Z
Patch0: ncompress-4.2.4-make.patch
Patch1: ncompress-4.2.4-lfs2.patch
Patch2: ncompress-4.2.4-filenamelen.patch
Patch3: ncompress-2GB.patch
BuildRequires: gcc glibc-devel fileutils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -27,6 +28,7 @@ which are compatible with the original UNIX compress utility.
%patch0 -p1
%patch1 -p1 -b .lfs
%patch2 -p1 -b .filenamelen
%patch3 -p1 -b .2GB
%build
@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%doc LZW.INFO README
%changelog
* Tue Oct 05 2004 Than Ngo <than@redhat.com> 4.2.4-40
- permit files > 2GB to be compressed (#126775).
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt