From owner-svn-ports-all@freebsd.org Thu Jun 21 23:02:30 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 544BD1003B5D; Thu, 21 Jun 2018 23:02:30 +0000 (UTC) (envelope-from amdmi3@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 0761372887; Thu, 21 Jun 2018 23:02:30 +0000 (UTC) (envelope-from amdmi3@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 DD7F218749; Thu, 21 Jun 2018 23:02:29 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5LN2Tpg013486; Thu, 21 Jun 2018 23:02:29 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5LN2TPH013484; Thu, 21 Jun 2018 23:02:29 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201806212302.w5LN2TPH013484@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 21 Jun 2018 23:02:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473008 - head/games/amoebax/files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/games/amoebax/files X-SVN-Commit-Revision: 473008 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.26 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: Thu, 21 Jun 2018 23:02:30 -0000 Author: amdmi3 Date: Thu Jun 21 23:02:29 2018 New Revision: 473008 URL: https://svnweb.freebsd.org/changeset/ports/473008 Log: - Fix build with clang 6.0 Added: head/games/amoebax/files/patch-configure (contents, props changed) head/games/amoebax/files/patch-src_NewHighScoreState.cxx (contents, props changed) Added: head/games/amoebax/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/amoebax/files/patch-configure Thu Jun 21 23:02:29 2018 (r473008) @@ -0,0 +1,16 @@ +--- configure.orig 2008-08-02 10:10:49 UTC ++++ configure +@@ -2329,12 +2329,7 @@ else + fi + fi + for ac_declaration in \ +- '' \ +- 'extern "C" void std::exit (int) throw (); using std::exit;' \ +- 'extern "C" void std::exit (int); using std::exit;' \ +- 'extern "C" void exit (int) throw ();' \ +- 'extern "C" void exit (int);' \ +- 'void exit (int);' ++ '' + do + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ Added: head/games/amoebax/files/patch-src_NewHighScoreState.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/amoebax/files/patch-src_NewHighScoreState.cxx Thu Jun 21 23:02:29 2018 (r473008) @@ -0,0 +1,11 @@ +--- src/NewHighScoreState.cxx.orig 2007-07-29 16:48:20 UTC ++++ src/NewHighScoreState.cxx +@@ -396,7 +396,7 @@ NewHighScoreState::unicodeCharacterPress + // FIXME: We are only interessted with ASCII values. + if ( 0 == (code & 0xff80) ) + { +- char character[2] = {toupper (static_cast(code & 0x7f)), '\0'}; ++ char character[2] = {static_cast(toupper (static_cast(code & 0x7f)), '\0')}; + std::string::size_type characterPos = + m_CursorValues.find (std::string (character)); + if ( std::string::npos != characterPos )