svn commit: r478092 - head/x11-wm/pekwm
Tobias Kortkamp
tobik at FreeBSD.org
Sun Aug 26 02:39:13 UTC 2018
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 at 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>
More information about the svn-ports-head
mailing list