Package: unzip
Version: 5.52-11
Severity: wishlist
Tags: patch

unzip can be compiled to support large files (>2Gb) by defining
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64. This has been reported
and fixed in the past [1] but the versions since 5.52-10 have lost
that change.

You should consider re-enabling it in the latest version. Please find
attached the obvious patch.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=192253


-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 
'hardy-proposed'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-19-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unzip depends on:
ii  libc6                      2.7-10ubuntu3 GNU C Library: Shared libraries

unzip recommends no packages.

-- no debconf information
--- 5.52-11/debian/rules	2008-03-21 11:47:22.000000000 +0000
+++ 5.52-11ubuntu1/debian/rules	2008-03-21 11:47:29.000000000 +0000
@@ -6,7 +6,7 @@ history = History.552
 
 CC = gcc
 CFLAGS = -g -Wall $$(getconf LFS_CFLAGS)
-DEFINES = -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR
+DEFINES = -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
 INSTALL_PROGRAM = install
 
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))

Reply via email to