From owner-svn-ports-all@freebsd.org Mon Aug 27 19:50:41 2018 Return-Path: Delivered-To: svn-ports-all@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 72058109470B; Mon, 27 Aug 2018 19:50: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 2824F80D13; Mon, 27 Aug 2018 19:50: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 0968522340; Mon, 27 Aug 2018 19:50: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 w7RJoeIk094371; Mon, 27 Aug 2018 19:50:40 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7RJoePn094370; Mon, 27 Aug 2018 19:50:40 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808271950.w7RJoePn094370@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 27 Aug 2018 19:50:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478247 - head/devel/kyra X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/kyra X-SVN-Commit-Revision: 478247 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 19:50:41 -0000 Author: tobik Date: Mon Aug 27 19:50:40 2018 New Revision: 478247 URL: https://svnweb.freebsd.org/changeset/ports/478247 Log: devel/kyra: Fix build with Clang 6 engine.cpp:454:27: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect sdlrect = { rect.min.x, rect.min.y, rect.Width(), rect.Height() }; ^~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/kyra-2.1.3_4.log Modified: head/devel/kyra/Makefile Modified: head/devel/kyra/Makefile ============================================================================== --- head/devel/kyra/Makefile Mon Aug 27 19:42:40 2018 (r478246) +++ head/devel/kyra/Makefile Mon Aug 27 19:50:40 2018 (r478247) @@ -22,9 +22,13 @@ BROKEN_armv7= invalid output constraint =A in assembl WRKSRC= ${WRKDIR}/${PORTNAME} -USES= gmake jpeg zip +USES= compiler gmake jpeg zip USE_GL= gl USE_SDL= image sdl + +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing + MAKEFILE= MakefileKyra MAKE_ENV= MAKE_KYRA=RELEASE KYRA_OPENGL=YES MAKE_ARGS= CC="${CC}" CXX="${CXX}" LD="${CXX}" \