git: 1ab0cb77a383 - main - math/dune-alugrid: fix build on ARM / POWER

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 18 Feb 2022 01:08:43 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ab0cb77a38316a11c3fd3cf626dc889622757f9

commit 1ab0cb77a38316a11c3fd3cf626dc889622757f9
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-02-18 01:05:45 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-18 01:05:45 +0000

    math/dune-alugrid: fix build on ARM / POWER
    
    /wrkdirs/usr/ports/math/dune-alugrid/work/dune-alugrid-08c6496d4d4a33df6456c3b402182f353dc2e76d/dune/alugrid/impl/serial/walk.h:873:52: error: constant expression evaluates to -127 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
        std::string msg {{97,120,126,42,107,125,112,44,-127,-128,118,124,117,47,83,101,94,86,62,83,94,104,90,-122,125,121,65,54,-122,-125,124,121,-117,126,57,126,-119,-119,66,-112,60,-125,-116,-112,-123,-124,-109,64,-108,-112,65,-123,-117,-105,-120,68,-104,-115,-118,70,-106,-120,-105,-115,-102,99,51,107,-106,-106,-116,-111,-103,-99,-110,-96,90,79,115,-107,-108,-97,-106,-92,94,83,126,-96,-93,-102,-101,-95,-91,-87,-91,100,88,-121,-88,-90,-82,-96,105,92,-112,-91,-94,94,-126,-108,-115,-123,109,-126,-115,-105,-119,-75,-84,-88,100,-110,-76,-86,-69,-77,-84,116,104,123,121,123,-128,121,85}};
---
 math/dune-alugrid/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/dune-alugrid/Makefile b/math/dune-alugrid/Makefile
index 4de44924a23e..3f6aa6a78665 100644
--- a/math/dune-alugrid/Makefile
+++ b/math/dune-alugrid/Makefile
@@ -40,4 +40,6 @@ DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen \
 
 PORTDOCS=	*
 
+CXXFLAGS+=	-fsigned-char
+
 .include <bsd.port.mk>