summaryrefslogtreecommitdiff
path: root/biology/openbabel
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2020-05-02 15:05:30 +0000
committerwiedi <wiedi@pkgsrc.org>2020-05-02 15:05:30 +0000
commit75351cbc4c7a3212fb6fce25ad5abaf950ab6216 (patch)
tree43b5a0826ea18151a87bef79deee701ff488242f /biology/openbabel
parentdc3bbf035356a1afceb53b61d78513e3fbb83cef (diff)
downloadpkgsrc-75351cbc4c7a3212fb6fce25ad5abaf950ab6216.tar.gz
openbabel: fix build on SunOS
Diffstat (limited to 'biology/openbabel')
-rw-r--r--biology/openbabel/Makefile4
-rw-r--r--biology/openbabel/PLIST.SunOS2
-rw-r--r--biology/openbabel/distinfo3
-rw-r--r--biology/openbabel/patches/patch-test_addhtest.cpp17
4 files changed, 23 insertions, 3 deletions
diff --git a/biology/openbabel/Makefile b/biology/openbabel/Makefile
index d88623afed5..df8dfaf3820 100644
--- a/biology/openbabel/Makefile
+++ b/biology/openbabel/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.38 2020/03/10 22:09:26 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2020/05/02 15:05:30 wiedi Exp $
#
GITHUB_PROJECT= openbabel
DISTNAME= openbabel-${RELVERSION:S/-/./g}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=openbabel/}
GITHUB_TAG= ${PKGBASE}-${RELVERSION}
diff --git a/biology/openbabel/PLIST.SunOS b/biology/openbabel/PLIST.SunOS
new file mode 100644
index 00000000000..067471610c3
--- /dev/null
+++ b/biology/openbabel/PLIST.SunOS
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.SunOS,v 1.3 2020/05/02 15:05:30 wiedi Exp $
+lib/openbabel/${PKGVERSION}/xtcformat.so
diff --git a/biology/openbabel/distinfo b/biology/openbabel/distinfo
index 45e45f8be6e..e38809dcdfa 100644
--- a/biology/openbabel/distinfo
+++ b/biology/openbabel/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2019/11/20 18:07:55 kamil Exp $
+$NetBSD: distinfo,v 1.10 2020/05/02 15:05:30 wiedi Exp $
SHA1 (openbabel-3.0.0.tar.gz) = 8e1428127f00e39f5f05f58b9b186cd8e50f2486
RMD160 (openbabel-3.0.0.tar.gz) = 333fd2af6dd6e59ca88258c2f228932a728321c6
@@ -8,3 +8,4 @@ SHA1 (patch-doc_CMakeLists.txt) = c4a46fd0ddd253fb755680d7eb91799c74a6489d
SHA1 (patch-openbabel-3.pc.cmake) = abae8cf74db7d45d340f17e5ef9749b6bafa5a70
SHA1 (patch-src_conformersearch.cpp) = 0f16cc0d0a45e30c6bf00af3b67fac435013a337
SHA1 (patch-src_formats_confabreport.cpp) = d9f81b6dfeff8ce7e94be5fdb375972ca8d422f2
+SHA1 (patch-test_addhtest.cpp) = 995f7b532517ef9cee8ee924181c3103aa6f3b6c
diff --git a/biology/openbabel/patches/patch-test_addhtest.cpp b/biology/openbabel/patches/patch-test_addhtest.cpp
new file mode 100644
index 00000000000..f42363430de
--- /dev/null
+++ b/biology/openbabel/patches/patch-test_addhtest.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-test_addhtest.cpp,v 1.1 2020/05/02 15:05:30 wiedi Exp $
+
+Need alloca.h on SunOS
+
+--- test/addhtest.cpp.orig 2019-10-07 16:39:17.000000000 +0000
++++ test/addhtest.cpp
+@@ -34,6 +34,10 @@ GNU General Public License for more deta
+ #include <iostream>
+ #include <fstream>
+
++#if defined(__sun)
++#include <alloca.h>
++#endif
++
+ using namespace std;
+ using namespace OpenBabel;
+