From owner-svn-ports-head@freebsd.org Mon Jul 30 11:11:42 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 EAC981052C25; Mon, 30 Jul 2018 11:11:41 +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 9DBEA9424F; Mon, 30 Jul 2018 11:11:41 +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 7EC88238E3; Mon, 30 Jul 2018 11:11:41 +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 w6UBBfMv077189; Mon, 30 Jul 2018 11:11:41 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6UBBfIx077188; Mon, 30 Jul 2018 11:11:41 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807301111.w6UBBfIx077188@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 30 Jul 2018 11:11:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475880 - head/games/kuklomenos X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/kuklomenos X-SVN-Commit-Revision: 475880 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: Mon, 30 Jul 2018 11:11:42 -0000 Author: tobik Date: Mon Jul 30 11:11:40 2018 New Revision: 475880 URL: https://svnweb.freebsd.org/changeset/ports/475880 Log: games/kuklomenos: Fix build with Clang 6 background.cc:69:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] (colour & 0xff000000) >> 24, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/kuklomenos-0.4.5_4.log Modified: head/games/kuklomenos/Makefile Modified: head/games/kuklomenos/Makefile ============================================================================== --- head/games/kuklomenos/Makefile Mon Jul 30 11:05:18 2018 (r475879) +++ head/games/kuklomenos/Makefile Mon Jul 30 11:11:40 2018 (r475880) @@ -19,9 +19,12 @@ OPTIONS_DEFINE= VORBIS OPTIONS_DEFAULT= VORBIS OPTIONS_SUB= yes +USES= compiler USE_SDL= sdl GNU_CONFIGURE= yes +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib