Created attachment 201766 [details] patch Don't add CXXFLAGS+=-Wno-c++11-narrowing, which is not supported by base GCC. Instead add USE_CXXSTD=c++98 which makes this port compile by both base GCC and Clang. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Wed Feb 6 00:14:19 UTC 2019 New revision: 492280 URL: https://svnweb.freebsd.org/changeset/ports/492280 Log: CXXFLAGS+=-Wno-c++11-narrowing is not supported by base GCC. Instead add USE_CXXSTD=c++98 which makes this port compile by both base GCC and Clang. PR: 235527 Submitted by: Piotr Kubaj Changes: head/comms/gsmlib/Makefile