From owner-svn-ports-all@freebsd.org Mon Jul 30 08:02:35 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 CE489104E4FC; Mon, 30 Jul 2018 08:02:35 +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 7D0928CEA6; Mon, 30 Jul 2018 08:02:35 +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 5E5F321A29; Mon, 30 Jul 2018 08:02:35 +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 w6U82Zix081861; Mon, 30 Jul 2018 08:02:35 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6U82ZxF081860; Mon, 30 Jul 2018 08:02:35 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807300802.w6U82ZxF081860@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 08:02:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475866 - head/games/dangerdeep X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/dangerdeep X-SVN-Commit-Revision: 475866 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, 30 Jul 2018 08:02:36 -0000 Author: tobik Date: Mon Jul 30 08:02:34 2018 New Revision: 475866 URL: https://svnweb.freebsd.org/changeset/ports/475866 Log: games/dangerdeep: Fix build with Clang 6 src/freeview_display.cpp:344:27: error: non-constant-expression cannot be narrowed from type 'double' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing] GLfloat lposition[4] = { sundir.x, sundir.y, sundir.z, 0.0f }; ^~~~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/dangerdeep-0.3.0_14.log Modified: head/games/dangerdeep/Makefile Modified: head/games/dangerdeep/Makefile ============================================================================== --- head/games/dangerdeep/Makefile Mon Jul 30 07:23:24 2018 (r475865) +++ head/games/dangerdeep/Makefile Mon Jul 30 08:02:34 2018 (r475866) @@ -14,10 +14,12 @@ COMMENT= Open source World War II German submarine sim LIB_DEPENDS= libfftw3.so:math/fftw3 RUN_DEPENDS= dangerdeep-data>0:games/dangerdeep-data -USES= scons +USES= compiler scons USE_GL= yes USE_SDL= sdl mixer image net +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing MAKE_ARGS= installbindir=${PREFIX}/bin installdatadir=${DATADIR} MAKE_ENV= X11BASE=${LOCALBASE}