summaryrefslogtreecommitdiff
path: root/biology/openbabel/patches/patch-src_conformersearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'biology/openbabel/patches/patch-src_conformersearch.cpp')
-rw-r--r--biology/openbabel/patches/patch-src_conformersearch.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/biology/openbabel/patches/patch-src_conformersearch.cpp b/biology/openbabel/patches/patch-src_conformersearch.cpp
new file mode 100644
index 00000000000..221094f548a
--- /dev/null
+++ b/biology/openbabel/patches/patch-src_conformersearch.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_conformersearch.cpp,v 1.1 2019/11/20 17:02:12 kamil Exp $
+
+--- src/conformersearch.cpp.orig 2019-10-07 16:39:17.000000000 +0000
++++ src/conformersearch.cpp
+@@ -23,6 +23,7 @@ GNU General Public License for more deta
+ #include <openbabel/elements.h>
+ #include <openbabel/bond.h>
+ #include "rand.h"
++#include <algorithm>
+
+ #if defined(_MSC_VER) && (_MSC_VER < 1800)
+ #define OB_ISNAN _isnan