summaryrefslogtreecommitdiff
path: root/biology/mummer/files/patch-include_mummer_postnuc.hh
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-25 23:03:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-25 23:03:14 +0000
commit4c1ed6117139e31d6cfa3398e77e900f5ea3ce4e (patch)
tree73f3a302bebde840b458c1d12754464707196dd7 /biology/mummer/files/patch-include_mummer_postnuc.hh
parentNew port: devel/yuck: Bog-standard command line option parser for C (diff)
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.
Notes
Notes: svn path=/head/; revision=553298
Diffstat (limited to 'biology/mummer/files/patch-include_mummer_postnuc.hh')
-rw-r--r--biology/mummer/files/patch-include_mummer_postnuc.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/biology/mummer/files/patch-include_mummer_postnuc.hh b/biology/mummer/files/patch-include_mummer_postnuc.hh
new file mode 100644
index 000000000000..745d318ca107
--- /dev/null
+++ b/biology/mummer/files/patch-include_mummer_postnuc.hh
@@ -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)