From 7f2c8b756a35f483757a145c934b299332fbf90c Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 13 Dec 2019 17:02:31 +0000 Subject: [PATCH 1/2] Use official colospace HSL/HSV converters from boost source tree (BOOST_VERSION > 1_69) --- deps/agg/src/agg_pixfmt_rgba.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/agg/src/agg_pixfmt_rgba.cpp b/deps/agg/src/agg_pixfmt_rgba.cpp index 0fa18b230..645ae55d2 100644 --- a/deps/agg/src/agg_pixfmt_rgba.cpp +++ b/deps/agg/src/agg_pixfmt_rgba.cpp @@ -5,11 +5,14 @@ #include #if BOOST_VERSION >= 106900 #include +#include +#include #else #include -#endif #include #include +#endif + #pragma GCC diagnostic pop namespace agg From 59e5f50e2600a1988bdccf68b3af51b84c2391ea Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 13 Dec 2019 17:04:54 +0000 Subject: [PATCH 2/2] Use boost::spirit::x3::standard::char_ parser --- include/mapnik/csv/csv_grammar_x3_def.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/csv/csv_grammar_x3_def.hpp b/include/mapnik/csv/csv_grammar_x3_def.hpp index cccddf9f2..63a3cf0ab 100644 --- a/include/mapnik/csv/csv_grammar_x3_def.hpp +++ b/include/mapnik/csv/csv_grammar_x3_def.hpp @@ -32,11 +32,11 @@ namespace mapnik { namespace grammar { namespace x3 = boost::spirit::x3; -namespace ascii = boost::spirit::x3::ascii; +namespace standard = boost::spirit::x3::standard; using x3::lit; using x3::lexeme; -using ascii::char_; +using standard::char_; struct unesc_char_ : x3::symbols {