[Libreoffice-commits] .: clucene/patches clucene/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Feb 23 05:21:33 PST 2012
clucene/patches/clucene-debug.patch | 11 +++++++++++
clucene/source/Makefile | 1 +
2 files changed, 12 insertions(+)
New commits:
commit 593769cec1c3e1c8afe299a49a0da7157f2ba8e8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 23 14:21:10 2012 +0100
Fix CLucene _DEBUG code
diff --git a/clucene/patches/clucene-debug.patch b/clucene/patches/clucene-debug.patch
new file mode 100644
index 0000000..640454e
--- /dev/null
+++ b/clucene/patches/clucene-debug.patch
@@ -0,0 +1,11 @@
+--- src/core/CLucene/index/TermInfosReader.cpp
++++ src/core/CLucene/index/TermInfosReader.cpp
+@@ -111,7 +111,7 @@
+ //destroy their elements
+ #ifdef _DEBUG
+ for ( int32_t i=0; i<indexTermsLength;++i ){
+- indexTerms[i].__cl_refcount--;
++ indexTerms[i].__cl_decref();
+ }
+ #endif
+ //Delete the arrays
diff --git a/clucene/source/Makefile b/clucene/source/Makefile
index a4131df..121d805 100644
--- a/clucene/source/Makefile
+++ b/clucene/source/Makefile
@@ -42,6 +42,7 @@ done :
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-internal-zlib.patch
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-warnings.patch
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-gcc-atomics.patch
+ $(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-debug.patch
#FIXME ?, our rules expect .cxx
for i in `find . -name "*.cpp"`; do mv $$i $${i%%cpp}cxx; done
ifneq ($(OS),WNT)
More information about the Libreoffice-commits
mailing list