commit 935dcf35040883dadf9e8d583946d30ce644ef49 Author: Jonathan Wakely Date: Mon Jul 27 16:47:43 2015 +0100 Add patch to work with strict_get from Boost.Variant 1.58.0. diff --git a/pion-net-boost-variant.patch b/pion-net-boost-variant.patch new file mode 100644 index 0000000..6638244 --- /dev/null +++ b/pion-net-boost-variant.patch @@ -0,0 +1,24 @@ +Adapt to breaking change in Boost.Variant where boost::get<> is strict. + +Author: Jonathan Wakely + +--- a/common/tests/PionBlobTests.cpp~ 2015-07-27 16:41:47.604056525 +0100 ++++ b/common/tests/PionBlobTests.cpp 2015-07-27 16:45:59.882935301 +0100 +@@ -114,7 +114,7 @@ + BOOST_CHECK(b1 == goodbye_str); + + boost::variant valueA(b1); +- BOOST_CHECK_EQUAL(goodbye_str, boost::get(valueA).get()); ++ BOOST_CHECK_EQUAL(goodbye_str, boost::get(valueA).get()); + BOOST_CHECK(! b1.unique()); + BOOST_CHECK_EQUAL(b1.use_count(), 2); + +@@ -123,7 +123,7 @@ + BOOST_CHECK_EQUAL(b1.use_count(), 1); + + boost::variant valueB(p2); +- BOOST_CHECK_EQUAL(goodbye_str, boost::get(valueB).get()); ++ BOOST_CHECK_EQUAL(goodbye_str, boost::get(valueB).get()); + + } + diff --git a/pion-net.spec b/pion-net.spec index 33e92fa..c13813e 100644 --- a/pion-net.spec +++ b/pion-net.spec @@ -2,7 +2,7 @@ Name: pion-net Version: 4.0.9 -Release: 19%{?dist} +Release: 20%{?dist} Summary: C++ library for building lightweight HTTP interfaces License: Boost @@ -19,6 +19,7 @@ Patch3: pion-net-boost-linking.patch Patch4: pion-net-log4cpp-headers.patch Patch5: pion-net-boost-compatibility.patch Patch6: pion-net-boost-time-utc.patch +Patch7: pion-net-boost-variant.patch %description Pion Network Library is a C++ framework for building lightweight HTTP @@ -114,6 +115,9 @@ make check %changelog +* Mon Jul 27 2015 Jonathan Wakely 4.0.9-20 +- Add patch to work with strict_get from Boost.Variant 1.58.0. + * Wed Jul 22 2015 David Tardon - 4.0.9-19 - rebuild for Boost 1.58