From owner-svn-ports-head@freebsd.org Sat Aug 25 13:48:10 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE243108B4B9; Sat, 25 Aug 2018 13:48:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6884970ADE; Sat, 25 Aug 2018 13:48:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3CC0A20B26; Sat, 25 Aug 2018 13:48:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7PDmACQ019453; Sat, 25 Aug 2018 13:48:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7PDmAwv019452; Sat, 25 Aug 2018 13:48:10 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808251348.w7PDmAwv019452@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 25 Aug 2018 13:48:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478030 - head/x11-wm/jewel X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/x11-wm/jewel X-SVN-Commit-Revision: 478030 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2018 13:48:10 -0000 Author: tobik Date: Sat Aug 25 13:48:09 2018 New Revision: 478030 URL: https://svnweb.freebsd.org/changeset/ports/478030 Log: x11-wm/jewel: Fix build with Clang 6 windowmanager.cc:1929:24: error: non-constant-expression cannot be narrowed from type 'int' to 'CARD32' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] CARD32 geometry[] = { xres, yres }; ^~~~ windowmanager.cc:1929:24: note: insert an explicit cast to silence this issue CARD32 geometry[] = { xres, yres }; ^~~~ static_cast( ) http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/jewel-0.12.41_4.log - Make sure the build respects CXXFLAGS Modified: head/x11-wm/jewel/Makefile Modified: head/x11-wm/jewel/Makefile ============================================================================== --- head/x11-wm/jewel/Makefile Sat Aug 25 13:42:44 2018 (r478029) +++ head/x11-wm/jewel/Makefile Sat Aug 25 13:48:09 2018 (r478030) @@ -16,8 +16,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ALL_TARGET= all DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README PORTDOCS= * -USES+= gmake +USES= compiler gmake USE_XORG= x11 xext xpm +MAKE_ARGS= CFLAGS="${CXXFLAGS}" + +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= DOCS