Patch for changes to Boost.Variant in Boost 1.58
This commit is contained in:
parent
26b2b7815a
commit
631fc05f97
11
0007-boost-1.58-variant.patch
Normal file
11
0007-boost-1.58-variant.patch
Normal file
@ -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 <typename TYPE, typename VAR>
|
||||||
|
static TYPE get(VAR var) {
|
||||||
|
- return var.type() == typeid(TYPE) ? boost::get<TYPE>(var) : TYPE();
|
||||||
|
+ return var.type() == typeid(TYPE) ? boost::relaxed_get<TYPE>(var) : TYPE();
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename TYPE, typename VAR>
|
@ -2,7 +2,7 @@
|
|||||||
Name: lucene++
|
Name: lucene++
|
||||||
Summary: A high-performance, full-featured text search engine written in C++
|
Summary: A high-performance, full-featured text search engine written in C++
|
||||||
Version: 3.0.7
|
Version: 3.0.7
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0 or LGPLv3+
|
License: ASL 2.0 or LGPLv3+
|
||||||
Url: https://github.com/luceneplusplus/LucenePlusPlus
|
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
|
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
|
Patch5: 0005-Use-maxSize-of-BooleanQuery-as-base-for-the-queue-si.patch
|
||||||
Patch6: 0006-Fix-packageconfig-path.patch
|
Patch6: 0006-Fix-packageconfig-path.patch
|
||||||
|
Patch7: 0007-boost-1.58-variant.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
@ -68,6 +69,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 05 2015 Jonathan Wakely <jwakely@redhat.com> 3.0.7-5
|
||||||
|
- Patch for changes to Boost.Variant in Boost 1.58
|
||||||
|
|
||||||
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.7-4
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.7-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user