summaryrefslogtreecommitdiff
path: root/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2013-02-10 10:25:48 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-02-10 10:25:48 -0500
commit572643dc8fa5954d545c50d50c577945b4416d6d (patch)
treed520a6a582a4dffa21ef4d6a6c142bde6f5adff6 /academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch
parent9ecf9746bd2609cf64898d1584e471e57a373220 (diff)
downloadslackbuilds-572643dc8fa5954d545c50d50c577945b4416d6d.tar.gz
academic/wxmacmolplt: Updated for version 7.4.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch')
-rw-r--r--academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch b/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch
new file mode 100644
index 0000000000..e02e4ae7e6
--- /dev/null
+++ b/academic/wxmacmolplt/wxmacmolplt-7.4.4-files.patch
@@ -0,0 +1,22 @@
+--- src/Files.cpp.orig 2012-12-30 22:55:10.000000000 +0400
++++ src/Files.cpp 2013-01-20 22:10:48.000000000 +0400
+@@ -2420,7 +2420,8 @@
+ // }
+ std::vector<std::pair <std::string, int> > OptKeywords; //search tokens for optimizations
+ OptKeywords.push_back(make_pair (std::string("BEGINNING GEOMETRY SEARCH POINT"), 0));
+- OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1));
++ OptKeywords.push_back(make_pair (std::string("1NSERCH"), 1));
++ OptKeywords.push_back(make_pair (std::string("COORDINATES OF ALL ATOMS ARE (ANGS)"), 2));
+
+ if (Append) {
+ Buffer->LocateKeyWord("RUN TITLE", 9); //find and skip over run title since
+@@ -3921,7 +3921,9 @@
+ sscanf(&(LineText[6]), "%d", &temp);
+ SetDiag(temp);
+ }
++ Buffer->SetFilePos(EndPos);
+ }
++
+ long MolDisplayWin::OpenGAMESSTRJ(BufferFile * Buffer, bool Append, long flip, float offset)
+ {
+ TypeOfRun runType=InvalidRunType;