Package: lucene++ / 3.0.6-3

disable-snowball.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Disabling snowball for the moment.
 As described in upstream issue #71 snowball is not used, moreover debian has its
 specific library. For now is better to disable it, waiting for upstream suggestions.

---
Origin: debian
Forwarded: https://github.com/luceneplusplus/LucenePlusPlus/issues/71
Reviewed-By: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Last-Update: <2014-09-02>

--- lucene++-3.0.6.orig/src/contrib/CMakeLists.txt
+++ lucene++-3.0.6/src/contrib/CMakeLists.txt
@@ -4,10 +4,10 @@ file(GLOB_RECURSE contrib_sources
   analyzers/*.cpp
   highlighter/*.cpp
   memory/*.cpp
-  snowball/*.cpp
-  snowball/libstemmer_c/libstemmer/libstemmer_utf8.c
-  snowball/libstemmer_c/src_c/*.c
-  snowball/libstemmer_c/runtime/*.c
+#  snowball/*.cpp
+#  snowball/libstemmer_c/libstemmer/libstemmer_utf8.c
+#  snowball/libstemmer_c/src_c/*.c
+#  snowball/libstemmer_c/runtime/*.c
 )
 
 file(GLOB_RECURSE contrib_headers
@@ -20,7 +20,7 @@ include_directories(
   ${lucene++_SOURCE_DIR}/include
   ${lucene++-lib_SOURCE_DIR}/include
   ${lucene++-contrib_SOURCE_DIR}/include
-  ${lucene++-contrib_SOURCE_DIR}/snowball/libstemmer_c/include
+#  ${lucene++-contrib_SOURCE_DIR}/snowball/libstemmer_c/include
   ${Boost_INCLUDE_DIRS}
 )