aboutsummaryrefslogtreecommitdiff
path: root/academic/mkDSSP/thread_include.patch
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2013-06-30 15:09:57 -0500
committerErik Hanson <erik@slackbuilds.org>2013-06-30 15:09:57 -0500
commitc10df1cb0cdba9d4bb05bdffbf4747a481b06063 (patch)
treeaa17cc52769014d265c150b5bdfa7eb3615bb50d /academic/mkDSSP/thread_include.patch
parent697a4c02f6763e98200e8f905e9cf65f85b09d04 (diff)
academic/mkDSSP: Added (A program that calculates DSSP entries from PDB entries)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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 0000000000000..f0b462b19c012
--- /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"