LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File boost1_53_fix.patch of Package mapnik (Project Application:Geo)

diff -ur mapnik-v2.1.0/src/json/feature_collection_parser.cpp mapnik-v2.1.0_fix/src/json/feature_collection_parser.cpp
--- mapnik-v2.1.0/src/json/feature_collection_parser.cpp	2012-08-23 23:57:06.000000000 +0200
+++ mapnik-v2.1.0_fix/src/json/feature_collection_parser.cpp	2013-03-21 18:40:07.585735555 +0100
@@ -20,6 +20,11 @@
  *
  *****************************************************************************/
 
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 105200
+#define BOOST_SPIRIT_USE_PHOENIX_V3
+#endif
+
 // mapnik
 #include <mapnik/json/feature_collection_parser.hpp>
 #include <mapnik/json/feature_collection_grammar.hpp>