summaryrefslogtreecommitdiffstats
path: root/academic/clustalx/fix-static.patch
diff options
context:
space:
mode:
author Petar Petrov <ppetrov@paju.oulu.fi>2011-09-02 22:12:41 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2011-09-02 22:12:41 -0300
commit34ea59f9a15c468cef83c81ac23a3d850c1c04aa (patch)
tree759f2e5b02f85bcb7ea01f852af8e84be40215c7 /academic/clustalx/fix-static.patch
parentfb66124312ad317a7dd878cf92f4c00270671e56 (diff)
downloadslackbuilds-34ea59f9a15c468cef83c81ac23a3d850c1c04aa.tar.gz
slackbuilds-34ea59f9a15c468cef83c81ac23a3d850c1c04aa.tar.xz
academic/clustalx: Added (Multiple Sequence Alignment GUI)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/clustalx/fix-static.patch')
-rw-r--r--academic/clustalx/fix-static.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/academic/clustalx/fix-static.patch b/academic/clustalx/fix-static.patch
new file mode 100644
index 0000000000..a23f0018c4
--- /dev/null
+++ b/academic/clustalx/fix-static.patch
@@ -0,0 +1,28 @@
+diff -urN clustalx-2.1/ClustalQtParams.h clustalx-2.1a/ClustalQtParams.h
+--- clustalx-2.1/ClustalQtParams.h 2010-11-17 05:12:30.000000000 -0500
++++ clustalx-2.1a/ClustalQtParams.h 2010-11-18 12:19:42.450866697 -0500
+@@ -13,9 +13,9 @@
+ #include "clustalW/alignment/Alignment.h"
+ #include <vector>
+
+-static QString psColorFile = "colprot.xml";
+-static QString psDNAFile = "coldna.xml";
+-static QString psPrintFile = "colprint.xml";
++static QString psColorFile = "/usr/share/clustalx/colprot.xml";
++static QString psDNAFile = "/usr/share/clustalx/coldna.xml";
++static QString psPrintFile = "/usr/share/clustalx/colprint.xml";
+
+ static const int BlackAndWhite = 1;
+ static const int ColorsBackGround = 2;
+diff -urN clustalx-2.1/HelpDisplayWidget.cpp clustalx-2.1a/HelpDisplayWidget.cpp
+--- clustalx-2.1/HelpDisplayWidget.cpp 2010-11-17 05:12:30.000000000 -0500
++++ clustalx-2.1a/HelpDisplayWidget.cpp 2010-11-18 12:20:34.727866697 -0500
+@@ -19,7 +19,7 @@
+ #include <QtGui>
+ #include "Resources.h"
+
+-const string HelpDisplayWidget::helpFileName = "clustalx.hlp";
++const string HelpDisplayWidget::helpFileName = "/usr/share/clustalx/clustalx.hlp";
+
+ HelpDisplayWidget::HelpDisplayWidget(char helpPointer)
+ {