Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/openbabel openbabel: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b655f02c9e21
branches:  trunk
changeset: 430638:b655f02c9e21
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sat May 02 15:05:30 2020 +0000

description:
openbabel: fix build on SunOS

diffstat:

 biology/openbabel/Makefile                        |   4 ++--
 biology/openbabel/PLIST.SunOS                     |   2 ++
 biology/openbabel/distinfo                        |   3 ++-
 biology/openbabel/patches/patch-test_addhtest.cpp |  17 +++++++++++++++++
 4 files changed, 23 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 139e9a72deb8 -r b655f02c9e21 biology/openbabel/Makefile
--- a/biology/openbabel/Makefile        Sat May 02 15:02:58 2020 +0000
+++ b/biology/openbabel/Makefile        Sat May 02 15:05:30 2020 +0000
@@ -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 -r 139e9a72deb8 -r b655f02c9e21 biology/openbabel/PLIST.SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/openbabel/PLIST.SunOS     Sat May 02 15:05:30 2020 +0000
@@ -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 -r 139e9a72deb8 -r b655f02c9e21 biology/openbabel/distinfo
--- a/biology/openbabel/distinfo        Sat May 02 15:02:58 2020 +0000
+++ b/biology/openbabel/distinfo        Sat May 02 15:05:30 2020 +0000
@@ -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-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 -r 139e9a72deb8 -r b655f02c9e21 biology/openbabel/patches/patch-test_addhtest.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/openbabel/patches/patch-test_addhtest.cpp Sat May 02 15:05:30 2020 +0000
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index