Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 02:58:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330839 - in head/games/shootingstar: . files
Message-ID:  <201310190258.r9J2wfH9009982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 19 02:58:40 2013
New Revision: 330839
URL: http://svnweb.freebsd.org/changeset/ports/330839

Log:
  - Support staging
  - Convert USE_GMAKE to USES
  - Fix segfault
  - Rename patches according to porter's handbook

Added:
  head/games/shootingstar/files/patch-src-engine-cTextureFont.cpp
     - copied unchanged from r330763, head/games/shootingstar/files/patch-src--engine--cTextureFont.cpp
  head/games/shootingstar/files/patch-src-game-cMainMenu.cpp   (contents, props changed)
  head/games/shootingstar/files/patch-src-game-cOptions.cpp
     - copied unchanged from r330763, head/games/shootingstar/files/patch-src--game--cOptions.cpp
Deleted:
  head/games/shootingstar/files/patch-src--engine--cTextureFont.cpp
  head/games/shootingstar/files/patch-src--game--cOptions.cpp
  head/games/shootingstar/pkg-plist
Modified:
  head/games/shootingstar/Makefile

Modified: head/games/shootingstar/Makefile
==============================================================================
--- head/games/shootingstar/Makefile	Sat Oct 19 02:58:22 2013	(r330838)
+++ head/games/shootingstar/Makefile	Sat Oct 19 02:58:40 2013	(r330839)
@@ -12,7 +12,7 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	SDL/OpenGL top-down shooter
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_GL=		gl
 USE_SDL=	sdl mixer image
 
@@ -20,5 +20,7 @@ CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+
 .include <bsd.port.mk>

Copied: head/games/shootingstar/files/patch-src-engine-cTextureFont.cpp (from r330763, head/games/shootingstar/files/patch-src--engine--cTextureFont.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/shootingstar/files/patch-src-engine-cTextureFont.cpp	Sat Oct 19 02:58:40 2013	(r330839, copy of r330763, head/games/shootingstar/files/patch-src--engine--cTextureFont.cpp)
@@ -0,0 +1,10 @@
+--- src/engine/cTextureFont.cpp.orig	Sun Jul  6 22:31:10 2003
++++ src/engine/cTextureFont.cpp	Sun Nov 20 02:33:54 2005
+@@ -31,6 +31,7 @@
+ #include <stdio.h>
+ #include <GL/gl.h>
+ #include <GL/glu.h>
++#include <math.h>
+ #include "cTextureManager.hpp"
+ #include "Debug.hpp"
+ //------------------------------------------------------------------------------

Added: head/games/shootingstar/files/patch-src-game-cMainMenu.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/shootingstar/files/patch-src-game-cMainMenu.cpp	Sat Oct 19 02:58:40 2013	(r330839)
@@ -0,0 +1,11 @@
+--- src/game/cMainMenu.cpp.orig	2004-02-21 15:48:50.000000000 +0300
++++ src/game/cMainMenu.cpp	2013-10-19 04:20:28.484773573 +0400
+@@ -399,7 +399,7 @@
+ 	
+ 	string &text = mDemoStrings[mCurrentString];
+ 	
+-	static unsigned int i = 0;
++	static int i = 0;
+ 	if ( mLastLetter + 100 < now )
+ 	{
+ 		i++;

Copied: head/games/shootingstar/files/patch-src-game-cOptions.cpp (from r330763, head/games/shootingstar/files/patch-src--game--cOptions.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/shootingstar/files/patch-src-game-cOptions.cpp	Sat Oct 19 02:58:40 2013	(r330839, copy of r330763, head/games/shootingstar/files/patch-src--game--cOptions.cpp)
@@ -0,0 +1,11 @@
+--- src/game/cOptions.cpp.orig	Mon Dec 22 08:09:06 2003
++++ src/game/cOptions.cpp	Sun Nov 20 03:12:28 2005
+@@ -201,7 +201,7 @@
+ 			dbgError () << "Unable to read from options file\n";
+ 			throw runtime_error ("Unable to load options");
+ 		}
+-		int (keys.keys[i]) = key;	// IS THIS SAFE?
++		keys.keys[i] = (SDLKey)key;	// IS THIS SAFE?
+ 		
+ 		fin >> key;
+ 		keys.buttons[i] = key;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190258.r9J2wfH9009982>