[Pkg-clamav-commits] [libclamunrar] 04/04: Enable LFS

Sebastian A. Siewior bigeasy-guest at moszumanska.debian.org
Thu Sep 4 18:58:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

bigeasy-guest pushed a commit to branch unstable
in repository libclamunrar.

commit 405ae50a32f0e8714d20565beb25c55e3034dc4f
Author: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
Date:   Thu Sep 4 20:23:24 2014 +0200

    Enable LFS
    
    Signed-off-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
---
 debian/changelog | 1 +
 debian/rules     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2e39cbf..c628297 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libclamunrar (98.5~beta1-1) UNRELEASED; urgency=medium
 
   * update to new upstream version.
   * drop automake workaround, the bug was fixed.
+  * use the same hack as in clamav for LFS support
 
  -- Sebastian Andrzej Siewior <sebastian at breakpoint.cc>  Tue, 02 Sep 2014 21:13:32 +0200
 
diff --git a/debian/rules b/debian/rules
index 1d32979..e27529e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,8 @@ endif
 	dh $@ --parallel $(AUTORECONF)
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(shell DEB_LDFLAGS_MAINT_APPEND="-Wl,-z,defs" dpkg-buildflags --export=configure) \
+	dh_auto_configure -- $(shell DEB_LDFLAGS_MAINT_APPEND="-Wl,-z,defs" \
+		DEB_CFLAGS_MAINT_APPEND="-D_FILE_OFFSET_BITS=64" dpkg-buildflags --export=configure) \
 		--disable-clamav
 
 override_dh_auto_build-arch:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-clamav/libclamunrar.git



More information about the Pkg-clamav-commits mailing list