aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2012-12-11 14:19:54 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2012-12-11 14:19:54 +0000
commit5bf9bfc399298d87b6ed8d978009d21ac12a5fcd (patch)
treed306c6bfb1e6cd85fc7edf327b8c71a6cf72e6ae /biology
parent4b3c9f74d5ca6fcca81c4fe0dd895f06ad92d624 (diff)
downloadports-5bf9bfc399298d87b6ed8d978009d21ac12a5fcd.tar.gz
ports-5bf9bfc399298d87b6ed8d978009d21ac12a5fcd.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/xdrawchem/Makefile4
-rw-r--r--biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp11
2 files changed, 13 insertions, 2 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index 08b2c216aa3d..9e71f8e1c884 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -7,14 +7,14 @@
PORTNAME= xdrawchem
PORTVERSION= 1.9.9
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= biology
MASTER_SITES= SF
MAINTAINER= hemi@puresimplicity.net
COMMENT= Chemical drawing program
-LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel
+LIB_DEPENDS= openbabel:${PORTSDIR}/science/openbabel
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp b/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp
new file mode 100644
index 000000000000..493499d74c7c
--- /dev/null
+++ b/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp
@@ -0,0 +1,11 @@
+--- ./xdrawchem/application_ob.cpp.orig 2005-11-30 03:47:14.000000000 +0000
++++ ./xdrawchem/application_ob.cpp 2012-10-30 14:37:35.092762310 +0000
+@@ -87,7 +87,7 @@
+ OBFormat *inFormat = NULL;
+
+ if (infilter.left(2) == "--") {
+- inFormat = Conv.FormatFromExt(infile);
++ inFormat = Conv.FormatFromExt(infile.ascii());
+ if (inFormat == NULL) {
+ QMessageBox::warning( 0, tr("Could not determine file type"),
+ tr("Please select a file type from the list.") );