From owner-svn-ports-all@freebsd.org Sun Aug 26 05:11:39 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 8FB6810A2383; Sun, 26 Aug 2018 05:11:39 +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 46B0C7138D; Sun, 26 Aug 2018 05:11:39 +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 27C23239A; Sun, 26 Aug 2018 05:11:39 +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 w7Q5BdSO097913; Sun, 26 Aug 2018 05:11:39 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q5Bd6q097912; Sun, 26 Aug 2018 05:11:39 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808260511.w7Q5Bd6q097912@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 26 Aug 2018 05:11:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478099 - head/games/vegastrike X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/vegastrike X-SVN-Commit-Revision: 478099 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: Sun, 26 Aug 2018 05:11:39 -0000 Author: tobik Date: Sun Aug 26 05:11:38 2018 New Revision: 478099 URL: https://svnweb.freebsd.org/changeset/ports/478099 Log: games/vegastrike: Fix build with Clang 6 In file included from src/cmd/ai/aggressive.cpp:24: ./src/vs_random.h:132:48: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing] static unsigned int mag01[2] = {0x0UL, MATRIX_A()}; ^~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/vegastrike-0.5.1.r1_13.log In file included from src/config_xml.cpp:27: In file included from ./src/xml_support.h:6: ... /usr/include/c++/v1/cstdlib:128:9: error: no member named 'rpl_realloc' in the global namespace using ::realloc; ~~^ ./config.h:444:17: note: expanded from macro 'realloc' #define realloc rpl_realloc ^ Second error is caused by failing configure checks and as a consequence the build assumes FreeBSD does not have realloc() etc.: In file included from conftest.cc:77: In file included from /usr/include/c++/v1/stdlib.h:94: /usr/include/stdlib.h:97:1: error: function declared '[[noreturn]]' after its first declaration _Noreturn void exit(int); ^ Modified: head/games/vegastrike/Makefile Modified: head/games/vegastrike/Makefile ============================================================================== --- head/games/vegastrike/Makefile Sun Aug 26 04:34:34 2018 (r478098) +++ head/games/vegastrike/Makefile Sun Aug 26 05:11:38 2018 (r478099) @@ -22,6 +22,7 @@ LIB_DEPENDS= ${PY_BOOST} \ USES= dos2unix gmake localbase:ldflags openal:al pkgconfig python:2.7 \ tar:bzip2 +USE_CXXSTD= c++98 GNU_CONFIGURE= yes USE_SDL= sdl USE_GL= glut