tags 619825 patch
thanks

On Wed, May 11, 2016 at 01:07:07PM +0000, rle...@codelibre.net wrote:
> Thanks for the investigation.  I'll look at adding some largefile
> tests into the cmake build.  In the meantime, you can probably add
> these to CXXFLAGS in debian/rules to work around this.

I finally found some time to rebuild the package with the attached patch and
can confirm that this fixes the bug.

Martin
diff -ur schroot-1.6.10.orig/debian/rules schroot-1.6.10/debian/rules
--- schroot-1.6.10.orig/debian/rules	2015-08-18 14:29:43.000000000 +0200
+++ schroot-1.6.10/debian/rules	2016-06-10 10:45:53.000000000 +0200
@@ -22,7 +22,7 @@
 endif
 
 export DEB_CFLAGS_MAINT_APPEND := -Wall
-export DEB_CXXFLAGS_MAINT_APPEND := -Wall
+export DEB_CXXFLAGS_MAINT_APPEND := -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
 
 DH_OPTIONS = --buildsystem=cmake --builddirectory=debian/build --parallel

Reply via email to