fix-static.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. diff -urN clustalx-2.1/ClustalQtParams.h clustalx-2.1a/ClustalQtParams.h
  2. --- clustalx-2.1/ClustalQtParams.h 2010-11-17 05:12:30.000000000 -0500
  3. +++ clustalx-2.1a/ClustalQtParams.h 2010-11-18 12:19:42.450866697 -0500
  4. @@ -13,9 +13,9 @@
  5. #include "clustalW/alignment/Alignment.h"
  6. #include <vector>
  7. -static QString psColorFile = "colprot.xml";
  8. -static QString psDNAFile = "coldna.xml";
  9. -static QString psPrintFile = "colprint.xml";
  10. +static QString psColorFile = "/usr/share/clustalx/colprot.xml";
  11. +static QString psDNAFile = "/usr/share/clustalx/coldna.xml";
  12. +static QString psPrintFile = "/usr/share/clustalx/colprint.xml";
  13. static const int BlackAndWhite = 1;
  14. static const int ColorsBackGround = 2;
  15. diff -urN clustalx-2.1/HelpDisplayWidget.cpp clustalx-2.1a/HelpDisplayWidget.cpp
  16. --- clustalx-2.1/HelpDisplayWidget.cpp 2010-11-17 05:12:30.000000000 -0500
  17. +++ clustalx-2.1a/HelpDisplayWidget.cpp 2010-11-18 12:20:34.727866697 -0500
  18. @@ -19,7 +19,7 @@
  19. #include <QtGui>
  20. #include "Resources.h"
  21. -const string HelpDisplayWidget::helpFileName = "clustalx.hlp";
  22. +const string HelpDisplayWidget::helpFileName = "/usr/share/clustalx/clustalx.hlp";
  23. HelpDisplayWidget::HelpDisplayWidget(char helpPointer)
  24. {