svn commit: r553298 - in head/biology/mummer: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Oct 25 23:03:15 UTC 2020
Author: pkubaj
Date: Sun Oct 25 23:03:14 2020
New Revision: 553298
URL: https://svnweb.freebsd.org/changeset/ports/553298
Log:
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.
Added:
head/biology/mummer/files/patch-include_mummer_postnuc.hh (contents, props changed)
Modified:
head/biology/mummer/Makefile
Modified: head/biology/mummer/Makefile
==============================================================================
--- head/biology/mummer/Makefile Sun Oct 25 22:31:56 2020 (r553297)
+++ head/biology/mummer/Makefile Sun Oct 25 23:03:14 2020 (r553298)
@@ -4,7 +4,7 @@
PORTNAME= mummer
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.0beta2-2
-PORTREVISION= 2
+PORTREVISION= 3
DISTVERSIONSUFFIX= -g277dac5
CATEGORIES= biology
Added: head/biology/mummer/files/patch-include_mummer_postnuc.hh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/biology/mummer/files/patch-include_mummer_postnuc.hh Sun Oct 25 23:03:14 2020 (r553298)
@@ -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)
More information about the svn-ports-head
mailing list