ports/archivers/unzip doesn't work with files >2Gb in archives - when there's a file more than 2Gb in archive, unzip reports "File too large". This can be fixed by adding "_FILE_OFFSET_BITS=64" to "CFLAGS" in ports/archivers/unzip/Makefile Fix: +CFLAGS+= -D_FILE_OFFSET_BITS=64 + .if defined(WITH_UNZIP_UNREDUCE) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} unreduce_full.zip EXTRACT_ONLY= ${PORTNAME}552.tar.gz--H4hRAZEVFa3IOAPB8AbElIzPmjufBFTpjtHG88K8uUdb0Isq Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- ports/archivers/unzip/Makefile.orig Mon Feb 5 14:32:30 2007 +++ ports/archivers/unzip/Makefile Mon Feb 5 14:32:32 2007 @@ -23,6 +23,8 @@ PORTDOCS= README WHERE MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1 How-To-Repeat: /usr/local/bin/unzip test.zip (which contains file >2Gb)
Responsible Changed From-To: freebsd-ports-bugs->ache Over to maintainer
ache 2007-02-08 18:35:01 UTC FreeBSD ports repository Modified files: archivers/unzip Makefile Log: Make it work with files >2Gb in archives PR: 108799 Submitted by: "George L. Yermulnik" <yz@yz.kiev.ua> Revision Changes Path 1.56 +2 -1 ports/archivers/unzip/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed