svn commit: r450500 - head/biology/ssaha/files

Jan Beich jbeich at FreeBSD.org
Sun Sep 24 18:45:26 UTC 2017


Author: jbeich
Date: Sun Sep 24 18:45:24 2017
New Revision: 450500
URL: https://svnweb.freebsd.org/changeset/ports/450500

Log:
  biology/ssaha: unbreak with gcc7
  
  In file included from Binary/..//Global/SSAHAMain.cpp:51:0:
  Binary/..//Global/SSAHAMain.cpp: In function 'void processQuery(QueryParameterStruct&)':
  Binary/..//Global/SSAHAMain.cpp:968:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
       assert( pAligner!=false);
                         ^
  
  PR:		222542

Modified:
  head/biology/ssaha/files/patch-SSAHAMain.cpp   (contents, props changed)

Modified: head/biology/ssaha/files/patch-SSAHAMain.cpp
==============================================================================
--- head/biology/ssaha/files/patch-SSAHAMain.cpp	Sun Sep 24 18:45:08 2017	(r450499)
+++ head/biology/ssaha/files/patch-SSAHAMain.cpp	Sun Sep 24 18:45:24 2017	(r450500)
@@ -37,6 +37,15 @@
  
    cerr << "Info: will ignore hits on words that occur more than " 
         << queryParams.maxStore << " times in the database." << endl;
+@@ -964,7 +965,7 @@ delete pQueryMode;
+ 
+     } // ~else
+ 
+-    assert( pAligner!=false);
++    assert(pAligner!=NULL);
+ 
+     // ownership of *pAligner passes to *pPrintTask
+     pPrintTask = new MatchTaskAlign( *pQuery, *pSubjectSource, pAligner,
 @@ -1151,7 +1152,7 @@
      } // ~if
      dirent* dirEntry;


More information about the svn-ports-all mailing list