Created
January 5, 2018 19:21
-
-
Save moonwatcher/ac1176971d6032fc9e0d4402e5a81333 to your computer and use it in GitHub Desktop.
patch for compiling bcl2fastq on linux with boost 1.58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:25.000000000 -0500 | |
+++ src/cxx/lib/io/Xml.cpp 2018-01-05 14:12:35.000000000 -0500 | |
@@ -168,19 +168,11 @@ | |
if (!tree.empty()) | |
{ | |
unindex(*tree.begin(), treeWithIndexAttributes); | |
-#ifndef WIN32 | |
- boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings(' ', 2)); | |
-#else | |
boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2)); | |
-#endif | |
} | |
else | |
{ | |
-#ifndef WIN32 | |
- boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings(' ', 2)); | |
-#else | |
boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2)); | |
-#endif | |
} | |
return os; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot, you just saved my day! Patch also works with boost 1.64.0.