From owner-svn-ports-all@freebsd.org Sun Oct 28 11:28:21 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 BC93A1087343; Sun, 28 Oct 2018 11:28:21 +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 72BCE7D9B8; Sun, 28 Oct 2018 11:28:21 +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 4F68E1EBB7; Sun, 28 Oct 2018 11:28:21 +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 w9SBSLMa097449; Sun, 28 Oct 2018 11:28:21 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9SBSLt9097448; Sun, 28 Oct 2018 11:28:21 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201810281128.w9SBSLt9097448@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 28 Oct 2018 11:28:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r483280 - branches/2018Q4/games/alephone X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2018Q4/games/alephone X-SVN-Commit-Revision: 483280 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.29 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: Sun, 28 Oct 2018 11:28:22 -0000 Author: jbeich Date: Sun Oct 28 11:28:20 2018 New Revision: 483280 URL: https://svnweb.freebsd.org/changeset/ports/483280 Log: MFH: r483246 games/alephone: unbreak build with Clang 6 (C++14 by default) In file included from csdialogs_sdl.cpp:29: In file included from ../../Source_Files/Misc/sdl_dialogs.h:33: In file included from /usr/local/include/boost/function.hpp:70: In file included from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47: In file included from /usr/local/include/boost/function/detail/function_iterate.hpp:14: In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:15: /usr/local/include/boost/function/function_template.hpp:158:33: error: called object type 'nullptr_t' is not a function or function pointer BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS)); ^~~~ /usr/local/include/boost/function/function_template.hpp:80:36: note: expanded from macro 'BOOST_FUNCTION_RETURN' # define BOOST_FUNCTION_RETURN(X) X ^ /usr/local/include/boost/function/function_template.hpp:935:53: note: in instantiation of member function 'boost::detail::function::void_function_obj_invoker0::invoke' requested here { { &manager_type::manage }, &invoker_type::invoke }; ^ /usr/local/include/boost/function/function_template.hpp:724:13: note: in instantiation of function template specialization 'boost::function0::assign_to' requested here this->assign_to(f); ^ /usr/local/include/boost/function/function_template.hpp:1073:5: note: in instantiation of function template specialization 'boost::function0::function0' requested here base_type(f) ^ ../../Source_Files/Misc/sdl_widgets.h:1082:5: note: in instantiation of function template specialization 'boost::function::function' requested here , m_callback (NULL) ^ interface.cpp:3114:25: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing] SDL_Rect dst_rect = { (s->w - 640)/2, (s->h - 480)/2, 640, 480 }; ^~~~~~~~~~~~~~ interface.cpp:3114:25: note: insert an explicit cast to silence this issue SDL_Rect dst_rect = { (s->w - 640)/2, (s->h - 480)/2, 640, 480 }; ^~~~~~~~~~~~~~ static_cast( ) Approved by: ports-secteam blanket Modified: branches/2018Q4/games/alephone/Makefile Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/games/alephone/Makefile ============================================================================== --- branches/2018Q4/games/alephone/Makefile Sun Oct 28 11:26:05 2018 (r483279) +++ branches/2018Q4/games/alephone/Makefile Sun Oct 28 11:28:20 2018 (r483280) @@ -14,6 +14,7 @@ COMMENT= The open source version of Bungie's Marathon BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:devel/boost-libs USES= gmake localbase pkgconfig tar:bzip2 +USE_CXXSTD= gnu++98 USE_SDL= image net sdl ttf USE_GL= yes GNU_CONFIGURE= yes