svn commit: r332286 - in head/games/crimson: . files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Thu Oct 31 21:16:17 UTC 2013
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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list