summaryrefslogtreecommitdiffstats
path: root/clucene/patches
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-02-23 14:21:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-02-23 14:21:10 +0100
commit593769cec1c3e1c8afe299a49a0da7157f2ba8e8 (patch)
tree5e83981c84129189e546ca8601fe9b39a234be30 /clucene/patches
parentclucene missing from gbuild_modules (diff)
downloadcore-593769cec1c3e1c8afe299a49a0da7157f2ba8e8.tar.gz
core-593769cec1c3e1c8afe299a49a0da7157f2ba8e8.zip
Fix CLucene _DEBUG code
Diffstat (limited to 'clucene/patches')
-rw-r--r--clucene/patches/clucene-debug.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/clucene/patches/clucene-debug.patch b/clucene/patches/clucene-debug.patch
new file mode 100644
index 000000000000..640454e2fb2d
--- /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