biology/mummer: fix build on powerpc64 elfv2 and powerpc64le

Error:
src/tigr/postnuc.cc:174:37: error: non-constant-expression cannot be narrowed from type 'signed char' to 'char' in initializer list [-Wc++11-narrowing]
        Alignments.push_back({ *Mp, CurrCp->dirB } );

Since it may also fix runtime issues on powerpc64 elfv1, bump PORTREVISION.
This commit is contained in:
Piotr Kubaj 2020-10-25 23:03:14 +00:00
parent aca73c2432
commit 4c1ed61171
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553298
2 changed files with 12 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= mummer
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.0beta2-2
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONSUFFIX= -g277dac5
CATEGORIES= biology

View File

@ -0,0 +1,11 @@
--- include/mummer/postnuc.hh.orig 2020-10-25 22:49:14 UTC
+++ include/mummer/postnuc.hh
@@ -67,7 +67,7 @@ struct Alignment
// trust me, it is a very helpful value
long int Errors, SimErrors, NonAlphas; // errors, similarity errors, nonalphas
- Alignment(const Match& m, const char dir)
+ Alignment(const Match& m, const signed char dir)
: dirB(dir)
, sA(m.sA)
, sB(m.sB)