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

(-)games/shaaft/Makefile (-3 / +8 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	shaaft
4
PORTNAME=	shaaft
5
PORTVERSION=	0.5.0
5
PORTVERSION=	0.5.0
6
PORTREVISION=	12
6
PORTREVISION=	13
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	SF/criticalmass/OldFiles
8
MASTER_SITES=	SF/criticalmass/OldFiles
9
DISTNAME=	Shaaft-${PORTVERSION}
9
DISTNAME=	Shaaft-${PORTVERSION}
Lines 18-33 Link Here
18
USE_BZIP2=	yes
18
USE_BZIP2=	yes
19
USE_SDL=	mixer image sdl
19
USE_SDL=	mixer image sdl
20
USE_GL=		yes
20
USE_GL=		yes
21
USE_GCC=	any
21
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
22
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
23
LDFLAGS+=	-L${LOCALBASE}/lib
24
CONFIGURE_ARGS=	--disable-optimize
23
CONFIGURE_ARGS=	--disable-optimize
24
25
CPPFLAGS+=	$$(libpng-config --I_opts)
26
LDFLAGS+=	$$(libpng-config --L_opts)
27
25
DATADIR=	${PREFIX}/share/Shaaft
28
DATADIR=	${PREFIX}/share/Shaaft
26
29
27
PLIST_FILES=	bin/Packer bin/shaaft %%DATADIR%%/resource.dat \
30
PLIST_FILES=	bin/Packer bin/shaaft %%DATADIR%%/resource.dat \
28
		man/man6/shaaft.6.gz
31
		man/man6/shaaft.6.gz
29
PLIST_DIRS=	%%DATADIR%%
32
PLIST_DIRS=	%%DATADIR%%
30
33
34
DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" ""
35
31
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
32
37
33
.if ${ARCH} == "sparc64"
38
.if ${ARCH} == "sparc64"
(-)games/shaaft/files/patch-ResourceManager.cpp (+10 lines)
Line 0 Link Here
1
--- utils/ResourceManager.cpp.orig
2
+++ utils/ResourceManager.cpp
3
@@ -13,6 +13,7 @@
4
 // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
5
 //
6
 #include <unistd.h>
7
+#include <cstring>
8
 #include <iomanip>
9
 #include <dirent.h>
10
 #include <sys/types.h>
(-)games/shaaft/files/patch-Value.hpp (+12 lines)
Line 0 Link Here
1
--- utils/Value.hpp.orig	2013-11-30 21:16:05.000000000 +0900
2
+++ utils/Value.hpp	2013-11-30 21:16:35.000000000 +0900
3
@@ -15,7 +15,8 @@
4
 #ifndef _Value_hpp_
5
 #define _Value_hpp_
6
 
7
-#include <stdio.h>
8
+#include <cstdio>
9
+#include <cstdlib>
10
 #include <string>
11
 
12
 #include <Trace.hpp>

Return to bug 184813