Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2017 18:45:25 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450500 - head/biology/ssaha/files
Message-ID:  <201709241845.v8OIjPjS081304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709241845.v8OIjPjS081304>