diff options
Diffstat (limited to 'clucene')
-rw-r--r-- | clucene/CustomTarget_source.mk | 1 | ||||
-rw-r--r-- | clucene/patches/clucene-multimap-put.patch | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/clucene/CustomTarget_source.mk b/clucene/CustomTarget_source.mk index 474d1b838a8e..55e5d2404531 100644 --- a/clucene/CustomTarget_source.mk +++ b/clucene/CustomTarget_source.mk @@ -66,6 +66,7 @@ $(CLSO)/done : $(cl_FIXED_TARFILE_LOCATION) \ $(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-gcc-atomics.patch && \ $(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-debug.patch && \ $(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-narrowing-conversions.patch && \ + $(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-multimap-put.patch && \ for i in `find $(CLSO)/ -name "*.cpp"`; do mv $$i $${i%%cpp}cxx; done) #FIXME ?, our rules expect .cxx ifneq ($(OS),WNT) diff --git a/clucene/patches/clucene-multimap-put.patch b/clucene/patches/clucene-multimap-put.patch new file mode 100644 index 000000000000..bfff31a8727b --- /dev/null +++ b/clucene/patches/clucene-multimap-put.patch @@ -0,0 +1,9 @@ +--- src/core/CLucene/util/VoidMap.h ++++ src/core/CLucene/util/VoidMap.h +@@ -316,6 +316,7 @@ public: + if ( _this::dk || _this::dv ) + _this::remove(k); + ++ (*this)[k] = v; + } + }; |