aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-25 02:45:24 +0800
committerjbeich <jbeich@FreeBSD.org>2017-09-25 02:45:24 +0800
commit001cce9e015160154ae140346540261fe3a8b891 (patch)
treebdc327ce33adf48573882aa56d0164eeeddc0b98 /biology
parent9e99476c7e6408195fc5deda9ce2e723ff4907a3 (diff)
downloadfreebsd-ports-gnome-001cce9e015160154ae140346540261fe3a8b891.tar.gz
freebsd-ports-gnome-001cce9e015160154ae140346540261fe3a8b891.tar.zst
freebsd-ports-gnome-001cce9e015160154ae140346540261fe3a8b891.zip
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
Diffstat (limited to 'biology')
-rw-r--r--biology/ssaha/files/patch-SSAHAMain.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/biology/ssaha/files/patch-SSAHAMain.cpp b/biology/ssaha/files/patch-SSAHAMain.cpp
index c65c50796f9f..e0e078386263 100644
--- a/biology/ssaha/files/patch-SSAHAMain.cpp
+++ b/biology/ssaha/files/patch-SSAHAMain.cpp
@@ -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;