From 34ea59f9a15c468cef83c81ac23a3d850c1c04aa Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Fri, 2 Sep 2011 22:12:41 -0300 Subject: academic/clustalx: Added (Multiple Sequence Alignment GUI) Signed-off-by: Niels Horn --- academic/clustalx/fix-static.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 academic/clustalx/fix-static.patch (limited to 'academic/clustalx/fix-static.patch') 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 + +-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 + #include "Resources.h" + +-const string HelpDisplayWidget::helpFileName = "clustalx.hlp"; ++const string HelpDisplayWidget::helpFileName = "/usr/share/clustalx/clustalx.hlp"; + + HelpDisplayWidget::HelpDisplayWidget(char helpPointer) + { -- cgit v1.2.3