Date: Mon, 4 Feb 2019 11:52:13 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492118 - head/x11-fm/worker Message-ID: <201902041152.x14BqDrs080979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902041152.x14BqDrs080979>