summaryrefslogtreecommitdiff
path: root/academic/mkDSSP/thread_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/mkDSSP/thread_include.patch')
-rw-r--r--academic/mkDSSP/thread_include.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/academic/mkDSSP/thread_include.patch b/academic/mkDSSP/thread_include.patch
new file mode 100644
index 0000000000..f0b462b19c
--- /dev/null
+++ b/academic/mkDSSP/thread_include.patch
@@ -0,0 +1,23 @@
+Description: moving boost thread include out of header that does not use it
+ Patch is not yet forwarded upstream.
+Author: Laszlo Kajan <lkajan@rostlab.org>
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -10,7 +10,6 @@
+ #endif
+
+ #include <time.h>
+-#include <boost/thread.hpp>
+ #include <boost/lexical_cast.hpp>
+ #include <boost/format.hpp>
+ #include <boost/filesystem.hpp>
+--- a/src/structure.cpp
++++ b/src/structure.cpp
+@@ -18,6 +18,7 @@
+ #define foreach BOOST_FOREACH
+ #include <boost/algorithm/string.hpp>
+ #include <boost/math/special_functions/round.hpp>
++#include <boost/thread.hpp>
+
+ #include "align-2d.h"
+ #include "utils.h"