freebsd-ports/biology/ssaha/files/patch-SSAHAMain.h
Martin Wilke 24815166c6 - Fix build on -current
- Update MASTER_SITES and WWW: line
- Support CXX/CXXFLAGS properly
- Support PLIST_FILES
- Stage support

PR:		184852
Submitted by:	Ports Fury
2014-01-25 16:48:05 +00:00

27 lines
960 B
C++

--- ./Global/SSAHAMain.h.orig 2004-03-01 13:51:28.000000000 -0300
+++ ./Global/SSAHAMain.h 2008-06-12 15:39:31.000000000 -0300
@@ -41,6 +41,7 @@
#include <string>
#include <iostream>
#include <memory>
+#include <cstdlib>
class SequenceReaderMulti;
class SequenceReader;
class HashTable;
@@ -131,7 +132,7 @@
-1, // int queryEnd;
-1, // int wordLength;
-1, // int stepLength;
- 100000, // int maxToStore;
+ 10000, // int maxToStore;
1, // int minToPrint;
-1, // int maxGap;
0, // int maxInsert;
@@ -174,6 +175,7 @@
CommandLineArg( const string& nameLong, const string& nameShort ) :
nameLong_( nameLong ), nameShort_( nameShort ) {}
+ virtual ~CommandLineArg() {}; // base class with virtual functions requires virtual constructor
// Is the current argument equal to 'my' argument name?
virtual bool isThisMe( const string& argName )
{