Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2020 23:03:15 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553298 - in head/biology/mummer: . files
Message-ID:  <202010252303.09PN3F3w034682@repo.freebsd.org>

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



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