From owner-svn-ports-head@freebsd.org Sat Jan 20 17:47:17 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8135BEBC263; Sat, 20 Jan 2018 17:47:17 +0000 (UTC) (envelope-from jbeich@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 5A1F483A1C; Sat, 20 Jan 2018 17:47:17 +0000 (UTC) (envelope-from jbeich@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 978891F933; Sat, 20 Jan 2018 17:47:16 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0KHlGxa032823; Sat, 20 Jan 2018 17:47:16 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0KHlGji032822; Sat, 20 Jan 2018 17:47:16 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801201747.w0KHlGji032822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 20 Jan 2018 17:47:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459538 - head/games/bombherman X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/games/bombherman X-SVN-Commit-Revision: 459538 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.25 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, 20 Jan 2018 17:47:17 -0000 Author: jbeich Date: Sat Jan 20 17:47:16 2018 New Revision: 459538 URL: https://svnweb.freebsd.org/changeset/ports/459538 Log: games/bombherman: unbreak build with Clang 6 (C++14 by default) display/display.cpp:371:17: error: non-constant-expression cannot be narrowed from type 'Uint16' (aka 'unsigned short') to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect r = { x, y, w, h }; ^ display/display.cpp:371:17: note: insert an explicit cast to silence this issue SDL_Rect r = { x, y, w, h }; ^ static_cast( ) display/display.cpp:391:48: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] TTF_Font * fontTitle = TTF_OpenFont(DATADIR"/"FONT_FILE, (height / fSize)); ^ display/display.cpp:560:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] ( ( dh.w - sSize ) / dp.w ) + ( i * dh.x ), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display/display.cpp:583:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] wText, ^~~~~ [...] Reported by: pkg-fallout Modified: head/games/bombherman/Makefile (contents, props changed) Modified: head/games/bombherman/Makefile ============================================================================== --- head/games/bombherman/Makefile Sat Jan 20 17:46:54 2018 (r459537) +++ head/games/bombherman/Makefile Sat Jan 20 17:47:16 2018 (r459538) @@ -23,6 +23,7 @@ GH_PROJECT= Bomb-her-man GH_TAGNAME= 8f5aa22 USES= autoreconf gmake pkgconfig +USE_CXXSTD= gnu++98 USE_SDL= sdl image mixer ttf USE_GNOME= cairo intltool librsvg2 GNU_CONFIGURE= yes