Package: xapian-omega Version: 1.2.3-1 Tags: patch, lfs Largefile support has been enabled in upstream SVN since 1.2.3 was released by adding AC_SYS_LARGEFILE to configure.ac. A simpler fix in the debian packaging which doesn't require configure to be regenerated is attached.
As well as allowing large files to be processed, this allows indexing files
on filing systems with 64-bit inode numbers.
Cheers,
Olly
diff --git a/xapian-applications/omega/debian/rules b/xapian-applications/omega/debian/rules
index 37ace86..37a6ca3 100755
--- a/xapian-applications/omega/debian/rules
+++ b/xapian-applications/omega/debian/rules
@@ -48,9 +48,9 @@ endif
# Handle DEB_BUILD_OPTIONS. Note that dh_strip handles nostrip for us.
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
- confflags += CFLAGS=-O0 CXXFLAGS=-O0
+ confflags += CFLAGS=-O0 CXXFLAGS=-O0 CPPFLAGS=-D_FILE_OFFSET_BITS=64
else
- confflags += CFLAGS=-O2 CXXFLAGS=-O2
+ confflags += CFLAGS=-O2 CXXFLAGS=-O2 CPPFLAGS=-D_FILE_OFFSET_BITS=64
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
signature.asc
Description: Digital signature

