[med-svn] [bcl2fastq2] 01/02: Try backporting to older boost versions to enable backport to Jessie
Andreas Tille
tille at debian.org
Tue Aug 22 13:43:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository bcl2fastq2.
commit 07614dacaf8e3259dc43261c617dcdbbecad6222
Author: Andreas Tille <tille at debian.org>
Date: Tue Aug 22 15:28:43 2017 +0200
Try backporting to older boost versions to enable backport to Jessie
---
debian/patches/enable_older_boost_versions.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/enable_older_boost_versions.patch b/debian/patches/enable_older_boost_versions.patch
new file mode 100644
index 0000000..e0c17dd
--- /dev/null
+++ b/debian/patches/enable_older_boost_versions.patch
@@ -0,0 +1,22 @@
+--- a/src/cxx/lib/io/Xml.cpp
++++ b/src/cxx/lib/io/Xml.cpp
+@@ -168,11 +168,19 @@ std::ostream &serializeAsXml(std::ostrea
+ if (!tree.empty())
+ {
+ unindex(*tree.begin(), treeWithIndexAttributes);
++#if BOOST_VERSION >= 105600
+ boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
++#else
++ boost::property_tree::write_xml(os, treeWithIndexAttributes, boost::property_tree::xml_writer_make_settings(' ', 2));
++#endif
+ }
+ else
+ {
++#if BOOST_VERSION >= 105600
+ boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings<std::string>(' ', 2));
++#else
++ boost::property_tree::write_xml(os, tree, boost::property_tree::xml_writer_make_settings(' ', 2));
++#endif
+ }
+ return os;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index c1879a2..694a46d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
fix_lib_versions.patch
fix_property_writer.patch
fix_TRUE_FALSE_enum.patch
+enable_older_boost_versions.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bcl2fastq2.git
More information about the debian-med-commit
mailing list