svn commit: r332161 - in head/games/crack-attack: . files

Danilo Egea Gondolfo danilo at FreeBSD.org
Wed Oct 30 18:15:24 UTC 2013


Author: danilo
Date: Wed Oct 30 18:15:23 2013
New Revision: 332161
URL: http://svnweb.freebsd.org/changeset/ports/332161

Log:
  - Add stage support
  - Fix a problem during execution
  
  PR:		ports/180524
  Reported by:	Pavlo Greenberg <dog at virtual.org.ua>

Added:
  head/games/crack-attack/files/
  head/games/crack-attack/files/patch-src__Attack.cxx   (contents, props changed)
Modified:
  head/games/crack-attack/Makefile   (contents, props changed)
  head/games/crack-attack/pkg-plist   (contents, props changed)

Modified: head/games/crack-attack/Makefile
==============================================================================
--- head/games/crack-attack/Makefile	Wed Oct 30 18:04:56 2013	(r332160)
+++ head/games/crack-attack/Makefile	Wed Oct 30 18:15:23 2013	(r332161)
@@ -18,9 +18,6 @@ USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-MAN6=		crack-attack.6
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
 

Added: head/games/crack-attack/files/patch-src__Attack.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/crack-attack/files/patch-src__Attack.cxx	Wed Oct 30 18:15:23 2013	(r332161)
@@ -0,0 +1,10 @@
+--- ./src/Attack.cxx.orig	2013-10-30 16:09:58.000000000 -0200
++++ ./src/Attack.cxx	2013-10-30 16:10:20.000000000 -0200
+@@ -84,6 +84,7 @@
+   
+   player_name[0] = '\0';
+   parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
++  glutInit(&argc, argv);
+   run_crack_attack(mode, port, host_name, player_name, height, width);
+ 
+   return 0;

Modified: head/games/crack-attack/pkg-plist
==============================================================================
--- head/games/crack-attack/pkg-plist	Wed Oct 30 18:04:56 2013	(r332160)
+++ head/games/crack-attack/pkg-plist	Wed Oct 30 18:15:23 2013	(r332161)
@@ -1,4 +1,5 @@
 bin/crack-attack
+man/man6/crack-attack.6.gz
 %%DATADIR%%/clock_0.tga
 %%DATADIR%%/clock_1.tga
 %%DATADIR%%/clock_2.tga


More information about the svn-ports-all mailing list