diff --git a/0007-boost-1.58-variant.patch b/0007-boost-1.58-variant.patch new file mode 100644 index 0000000..fe8d890 --- /dev/null +++ b/0007-boost-1.58-variant.patch @@ -0,0 +1,11 @@ +--- LucenePlusPlus-rel_3.0.7/include/VariantUtils.h~ 2015-08-05 17:03:05.196684008 +0100 ++++ LucenePlusPlus-rel_3.0.7/include/VariantUtils.h 2015-08-05 17:03:08.230687346 +0100 +@@ -22,7 +22,7 @@ + + template + static TYPE get(VAR var) { +- return var.type() == typeid(TYPE) ? boost::get(var) : TYPE(); ++ return var.type() == typeid(TYPE) ? boost::relaxed_get(var) : TYPE(); + } + + template diff --git a/lucene++.spec b/lucene++.spec index 080b498..d2109d6 100644 --- a/lucene++.spec +++ b/lucene++.spec @@ -2,7 +2,7 @@ Name: lucene++ Summary: A high-performance, full-featured text search engine written in C++ Version: 3.0.7 -Release: 4%{?dist} +Release: 5%{?dist} License: ASL 2.0 or LGPLv3+ Url: https://github.com/luceneplusplus/LucenePlusPlus @@ -13,6 +13,7 @@ Patch1: 0001-Fix-FSDirectory-sync-to-sync-writes-to-disk.patch Patch2: 0002-minor-fix-to-allow-full-lines-to-be-input-to-demo-qu.patch Patch5: 0005-Use-maxSize-of-BooleanQuery-as-base-for-the-queue-si.patch Patch6: 0006-Fix-packageconfig-path.patch +Patch7: 0007-boost-1.58-variant.patch BuildRequires: boost-devel @@ -68,6 +69,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Wed Aug 05 2015 Jonathan Wakely 3.0.7-5 +- Patch for changes to Boost.Variant in Boost 1.58 + * Wed Jul 29 2015 Fedora Release Engineering - 3.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159