svn commit: r492118 - head/x11-fm/worker
Mark Linimon
linimon at FreeBSD.org
Mon Feb 4 11:52:14 UTC 2019
Author: linimon
Date: Mon Feb 4 11:52:13 2019
New Revision: 492118
URL: https://svnweb.freebsd.org/changeset/ports/492118
Log:
When compiling this port with GCC, the following warning is treated as error:
exprfilter_scanner.rl:114:1: warning: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
Add -Wno-error=narrowing to CXXFLAGS on GCC-based architectures to fix
the build.
PR: 235349
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Modified:
head/x11-fm/worker/Makefile
Modified: head/x11-fm/worker/Makefile
==============================================================================
--- head/x11-fm/worker/Makefile Mon Feb 4 11:52:12 2019 (r492117)
+++ head/x11-fm/worker/Makefile Mon Feb 4 11:52:13 2019 (r492118)
@@ -46,4 +46,8 @@ LUA_USES= lua:51
XFT_CONFIGURE_OFF= --disable-xft
XFT_USE= xorg=xft
+.if exists(/usr/lib/libstdc++.so)
+CXXFLAGS+= -Wno-error=narrowing
+.endif
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list