at master 960 B view raw
1Excerpted from <https://aur.archlinux.org/cgit/aur.git/commit/?h=ceph&id=8c5cc7d8deec002f7596b6d0860859a0a718f12b>. 2 3Original author: Bazaah <github@luxolus.com> 4 5diff --git a/src/mgr/PyModule.cc b/src/mgr/PyModule.cc 6index 084cf3ffc1e..010a1177a88 100644 7--- a/src/mgr/PyModule.cc 8+++ b/src/mgr/PyModule.cc 9@@ -36,6 +36,11 @@ std::string PyModule::mgr_store_prefix = "mgr/"; 10 11 // Courtesy of http://stackoverflow.com/questions/1418015/how-to-get-python-exception-text 12 #define BOOST_BIND_GLOBAL_PLACEHOLDERS 13+// Fix instances of "'BOOST_PP_ITERATION_02' was not declared in this scope; did you mean 'BOOST_PP_ITERATION_05'" 14+// and related macro error bullshit that spans 300 lines of errors 15+// 16+// Apparently you can't include boost/python stuff _and_ have this header defined 17+#undef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS 18 // Boost apparently can't be bothered to fix its own usage of its own 19 // deprecated features. 20 #include <boost/python/extract.hpp>