View | Details | Raw Unified | Return to bug 78499
Collapse All | Expand All

(-)games/criticalmass/Makefile (-3 / +8 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	criticalmass
8
PORTNAME=	criticalmass
9
PORTVERSION=	0.99
9
PORTVERSION=	0.9.10
10
PORTEPOCH=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 22-32 Link Here
22
USE_GL=		yes
23
USE_GL=		yes
23
USE_REINPLACE=	yes
24
USE_REINPLACE=	yes
24
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
25
CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include" \
26
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
26
		LDFLAGS="-L${X11BASE}/lib"
27
CONFIGURE_ARGS=	--disable-optimize
27
CONFIGURE_ARGS=	--disable-optimize
28
28
29
MAN6=		critter.6
29
MAN6=		critter.6
30
PLIST_FILES=	bin/Packer \
31
		bin/critter \
32
		share/Critical_Mass/lg-criti.xm \
33
		share/Critical_Mass/resource.dat
34
PLIST_DIRS=	share/Critical_Mass
30
35
31
post-patch:
36
post-patch:
32
	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
37
	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
(-)games/criticalmass/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (CriticalMass-0.99.tar.bz2) = e9a96039dde38caaa5d25f1cdaff8a6e
1
MD5 (CriticalMass-0.9.10.tar.bz2) = e2e17fca8d026c993723f12097003f64
2
SIZE (CriticalMass-0.99.tar.bz2) = 2293579
2
SIZE (CriticalMass-0.9.10.tar.bz2) = 2394911
(-)games/criticalmass/files/patch-HashString.hpp (-20 lines)
Lines 1-20 Link Here
1
--- utils/HashString.hpp.orig	Mon Aug 16 15:01:21 2004
2
+++ utils/HashString.hpp	Mon Aug 16 15:02:23 2004
3
@@ -21,7 +21,7 @@
4
 
5
 namespace HASH_NAMESPACE
6
 {
7
-    struct hash<const string>
8
+    template <> struct hash<const string>
9
     {
10
 	//a simple hash function for string
11
 	int operator()(const string & s) const
12
@@ -32,7 +32,7 @@
13
 	}
14
     };
15
 
16
-    struct hash<string>
17
+    template <> struct hash<string>
18
     {
19
 	//a simple hash function for string
20
 	int operator()(string s) const
(-)games/criticalmass/files/patch-Input.hpp (-11 lines)
Lines 1-11 Link Here
1
--- game/Input.hpp.orig	Mon Aug 16 15:03:38 2004
2
+++ game/Input.hpp	Mon Aug 16 15:04:07 2004
3
@@ -28,7 +28,7 @@
4
 
5
 namespace HASH_NAMESPACE
6
 {
7
-    struct hash<Trigger>
8
+    template <> struct hash<Trigger>
9
     {
10
 	//a simple hash function for Trigger
11
 	int operator()(const Trigger &t) const
(-)games/criticalmass/files/patch-utils::WalkDirectory.hpp (+10 lines)
Line 0 Link Here
1
--- utils/WalkDirectory.hpp.orig	Sun Dec 19 15:18:06 2004
2
+++ utils/WalkDirectory.hpp	Sun Mar  6 08:49:51 2005
3
@@ -16,6 +16,7 @@
4
 #define _WalkDirectory_hpp_
5
 
6
 #include <iostream>
7
+#include <string>
8
 using namespace std;
9
 
10
 #ifdef VCPP
(-)games/criticalmass/pkg-plist (-5 lines)
Lines 1-5 Link Here
1
bin/Packer
2
bin/critter
3
share/Critical_Mass/lg-criti.xm
4
share/Critical_Mass/resource.dat
5
@dirrm share/Critical_Mass

Return to bug 78499