Add patch for Boost.Geometry issue #721

This commit is contained in:
Jonathan Wakely 2020-06-05 18:19:23 +01:00
parent 8e6b263013
commit 3fcfdd32f8
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From aafbceccc76dccb75963dd4f596fd1f10ee34b03 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely <boost@kayari.org>
Date: Fri, 5 Jun 2020 19:29:27 +0100
Subject: [PATCH] Make index::detail::rtree::visitors::insert base class public
Fixes #721
---
include/boost/geometry/index/detail/rtree/visitors/insert.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/boost/geometry/index/detail/rtree/visitors/insert.hpp b/include/boost/geometry/index/detail/rtree/visitors/insert.hpp
index 2d324cb7f4..5709a930cc 100644
--- a/include/boost/geometry/index/detail/rtree/visitors/insert.hpp
+++ b/include/boost/geometry/index/detail/rtree/visitors/insert.hpp
@@ -265,7 +265,7 @@ struct insert_traverse_data
// Default insert visitor
template <typename Element, typename MembersHolder>
class insert
- : MembersHolder::visitor
+ : public MembersHolder::visitor
{
protected:
typedef typename MembersHolder::box_type box_type;

View File

@ -42,7 +42,7 @@ Name: boost
%global real_name boost
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.73.0
Release: 3%{?dist}
Release: 4%{?dist}
License: Boost and MIT and Python
# Replace each . with _ in %%{version}
@ -159,6 +159,9 @@ Patch89: boost-1.73.0-outcome-assert.patch
# https://github.com/boostorg/beast/pull/1927
Patch90: boost-1.73.0-beast-coroutines.patch
# https://github.com/boostorg/geometry/issues/721
Patch91: boost-1.73-geometry-issue721.patch
%bcond_with tests
%bcond_with docs_generated
@ -673,6 +676,7 @@ find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
%patch88 -p1
%patch89 -p1
%patch90 -p1
%patch91 -p1
%build
# Dump the versions being used into the build logs.
@ -1283,6 +1287,9 @@ fi
%{_mandir}/man1/b2.1*
%changelog
* Fri Jun 05 2020 Jonathan Wakely <jwakely@redhat.com> - 1.73.0-4
- Add patch for Boost.Geometry issue #721
* Fri May 29 2020 Jonathan Wakely <jwakely@redhat.com> - 1.73.0-3
- Rebuilt for Python 3.9