From owner-svn-ports-all@FreeBSD.ORG Thu Oct 31 21:16:16 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E29B11AF; Thu, 31 Oct 2013 21:16:16 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5B4623F6; Thu, 31 Oct 2013 21:16:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VLGGxU063111; Thu, 31 Oct 2013 21:16:16 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9VLGGqh063108; Thu, 31 Oct 2013 21:16:16 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310312116.r9VLGGqh063108@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Thu, 31 Oct 2013 21:16:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332286 - in head/games/crimson: . files X-SVN-Group: ports-head 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.14 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, 31 Oct 2013 21:16:17 -0000 Author: danilo Date: Thu Oct 31 21:16:15 2013 New Revision: 332286 URL: http://svnweb.freebsd.org/changeset/ports/332286 Log: - Add stage support - Fix build with clang Added: head/games/crimson/files/ head/games/crimson/files/patch-src__cf__path.cpp (contents, props changed) Modified: head/games/crimson/Makefile (contents, props changed) head/games/crimson/pkg-plist (contents, props changed) Modified: head/games/crimson/Makefile ============================================================================== --- head/games/crimson/Makefile Thu Oct 31 20:48:47 2013 (r332285) +++ head/games/crimson/Makefile Thu Oct 31 21:16:15 2013 (r332286) @@ -15,7 +15,4 @@ GNU_CONFIGURE= yes USES= gmake USE_SDL= mixer sdl ttf -MAN6= crimson.6 - -NO_STAGE= yes .include Added: head/games/crimson/files/patch-src__cf__path.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/crimson/files/patch-src__cf__path.cpp Thu Oct 31 21:16:15 2013 (r332286) @@ -0,0 +1,20 @@ +--- ./src/cf/path.cpp.orig 2013-10-31 19:17:06.000000000 -0200 ++++ ./src/cf/path.cpp 2013-10-31 19:17:43.000000000 -0200 +@@ -212,7 +212,7 @@ + // RETURNS : estimated cost to destination + //////////////////////////////////////////////////////////////////////// + +-inline unsigned short Path::ETA( const Point &p ) const { ++unsigned short Path::ETA( const Point &p ) const { + return Distance( p, end ) * quality; + } + +@@ -249,7 +249,7 @@ + // RETURNS : TRUE if search aborted, FALSE otherwise + //////////////////////////////////////////////////////////////////////// + +-inline bool Path::StopSearch( const PathNode &next ) const { ++bool Path::StopSearch( const PathNode &next ) const { + return Distance( next.pos, end ) <= deviation; + } + Modified: head/games/crimson/pkg-plist ============================================================================== --- head/games/crimson/pkg-plist Thu Oct 31 20:48:47 2013 (r332285) +++ head/games/crimson/pkg-plist Thu Oct 31 21:16:15 2013 (r332286) @@ -1,4 +1,5 @@ bin/crimson +man/man6/crimson.6.gz share/pixmaps/crimson.png %%DATADIR%%/cf.dat %%DATADIR%%/default.tiles