rpms/unzip/devel unzip-5.52-4GB3.patch, NONE, 1.1 unzip.spec, 1.35, 1.36 unzip-5.51-near-4GB.patch, 1.1, NONE
Ivana Varekova (varekova)
fedora-extras-commits at redhat.com
Tue Jan 22 14:08:06 UTC 2008
Author: varekova
Update of /cvs/pkgs/rpms/unzip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30131
Modified Files:
unzip.spec
Added Files:
unzip-5.52-4GB3.patch
Removed Files:
unzip-5.51-near-4GB.patch
Log Message:
- add >4GB patch (#429674)
unzip-5.52-4GB3.patch:
--- NEW FILE unzip-5.52-4GB3.patch ---
diff -up unzip-5.52/globals.h.pom unzip-5.52/globals.h
--- unzip-5.52/globals.h.pom 2008-01-22 14:54:15.000000000 +0100
+++ unzip-5.52/globals.h 2008-01-22 14:54:26.000000000 +0100
@@ -183,7 +183,7 @@ typedef struct Globals {
int newzip; /* reset in extract.c; used in crypt.c */
Z_OFF_T real_ecrec_offset;
Z_OFF_T expect_ecrec_offset;
- long csize; /* used by decompr. (NEXTBYTE): must be signed */
+ long long csize; /* used by decompr. (NEXTBYTE): must be signed */
long used_csize; /* used by extract_or_test_member(), explode() */
#ifdef DLL
diff -up unzip-5.52/process.c.pom unzip-5.52/process.c
--- unzip-5.52/process.c.pom 2008-01-22 14:54:15.000000000 +0100
+++ unzip-5.52/process.c 2008-01-22 14:54:47.000000000 +0100
@@ -1288,7 +1288,7 @@ int process_local_file_hdr(__G) /* re
G.lrec.ucsize = G.pInfo->uncompr_size;
}
- G.csize = (long)G.lrec.csize;
+ G.csize = (long long)G.lrec.csize;
return PK_COOL;
Index: unzip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/unzip/devel/unzip.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- unzip.spec 4 Sep 2007 08:59:53 -0000 1.35
+++ unzip.spec 22 Jan 2008 14:07:19 -0000 1.36
@@ -1,7 +1,7 @@
Summary: A utility for unpacking zip files
Name: unzip
Version: 5.52
-Release: 5%{?dist}
+Release: 6%{?dist}
License: BSD
Group: Applications/Archiving
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz
@@ -14,6 +14,7 @@
Patch9: unzip-5.52-long-filename.patch
Patch10: unzip-5.52-makefile.patch
Patch11: unzip-5.52-open.patch
+Patch12: unzip-5.52-4GB3.patch
URL: http://www.info-zip.org/pub/infozip/UnZip.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -39,6 +40,7 @@
%patch9 -p1 -b .lfn
%patch10 -p1 -b .make
%patch11 -p1 -b .open
+%patch12 -p1 -b .4GB3
ln -s unix/Makefile Makefile
%build
@@ -59,6 +61,9 @@
%{_mandir}/*/*
%changelog
+* Tue Jan 22 2008 Ivana Varekova <varekova at redhat.com> - 5.52-6
+- add >4GB patch (#429674)
+
* Tue Sep 4 2007 Ivana Varekova <varekova at redhat.com> - 5.52-5
- fix open call
--- unzip-5.51-near-4GB.patch DELETED ---
More information about the fedora-extras-commits
mailing list