Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 02:39:12 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478092 - head/x11-wm/pekwm
Message-ID:  <201808260239.w7Q2dCGZ018631@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Aug 26 02:39:12 2018
New Revision: 478092
URL: https://svnweb.freebsd.org/changeset/ports/478092

Log:
  x11-wm/pekwm: Unbreak with Clang 6
  
  ActionHandler.cc:603:10: error: case value evaluates to 4294967291, which cannot be
        narrowed to type 'int' [-Wc++11-narrowing]
      case WORKSPACE_UP:
           ^
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p474051_s336054/logs/pekwm-0.1.17_4,1.log
  
  PR:		230889
  Submitted by:	tobik
  Approved by:	Natacha Porté <natbsd@instinctive.eu> (maintainer)

Modified:
  head/x11-wm/pekwm/Makefile

Modified: head/x11-wm/pekwm/Makefile
==============================================================================
--- head/x11-wm/pekwm/Makefile	Sun Aug 26 00:26:22 2018	(r478091)
+++ head/x11-wm/pekwm/Makefile	Sun Aug 26 02:39:12 2018	(r478092)
@@ -16,13 +16,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		gmake iconv:wchar_t jpeg localbase pkgconfig tar:bzip2
+USES=		compiler gmake iconv:wchar_t jpeg localbase pkgconfig tar:bzip2
 USE_XORG=	xft xpm x11 sm ice xext
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shape --enable-xinerama --enable-xrandr \
 		--enable-xft --enable-image-xpm --enable-image-jpeg \
 		--enable-image-png --disable-debug \
 		--disable-pedantic
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-c++11-narrowing
 LDFLAGS+=	${ICONV_LIB}
 
 .include <bsd.port.mk>



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