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

(-)openastromenace.new/Makefile (-1 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	openastromenace
8
PORTNAME=	openastromenace
9
PORTVERSION=	1.2.0
9
PORTVERSION=	1.2.0
10
PORTREVISION=	9
10
PORTREVISION=	10
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
13
DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
Lines 44-49 Link Here
44
IGNORE=		cannot be build without/with multiple language packs. Please rerun 'make config' and select single language pack
44
IGNORE=		cannot be build without/with multiple language packs. Please rerun 'make config' and select single language pack
45
.endif
45
.endif
46
46
47
.if !defined(WITHOUT_NOUVEAU)
48
CFLAGS+=       -DOLD_MESA
49
.endif
50
47
post-patch:
51
post-patch:
48
	${REINPLACE_CMD} -e 's|/usr/local/share/openastromenace|${DATADIR}|' \
52
	${REINPLACE_CMD} -e 's|/usr/local/share/openastromenace|${DATADIR}|' \
49
		${WRKSRC}/AstroMenaceSource/Main.cpp
53
		${WRKSRC}/AstroMenaceSource/Main.cpp
(-)openastromenace.new/files/patch-AstroMenaceSource-Core-Base.h (+17 lines)
Line 0 Link Here
1
--- AstroMenaceSource/Core/Base.h.orig	2007-09-03 05:42:03.000000000 -0500
2
+++ AstroMenaceSource/Core/Base.h	2011-01-20 15:22:28.000000000 -0600
3
@@ -46,10 +46,14 @@
4
 	#include <OpenGL/gl.h>	// Header File For The OpenGL32 Library
5
 	#include <OpenGL/glu.h>	// Header File For The GLu32 Library
6
 #else
7
+      #ifdef OLD_MESA
8
 	#define __glext_h_  // Don't let gl.h include glext.h
9
+      #endif
10
 	#include <GL/gl.h>	// Header File For The OpenGL32 Library
11
 	#include <GL/glu.h>	// Header File For The GLu32 Library
12
+      #ifdef OLD_MESA
13
 	#undef __glext_h_
14
+      #endif
15
 #endif
16
 
17
 #include <stdlib.h> // rand, ...
(-)openastromenace.new/files/patch-AstroMenaceSource-Core-VirtualFileSystem-VFS.h (+11 lines)
Line 0 Link Here
1
--- AstroMenaceSource/Core/VirtualFileSystem/VFS.h.orig	2011-01-20 15:23:37.000000000 -0600
2
+++ AstroMenaceSource/Core/VirtualFileSystem/VFS.h	2011-01-20 15:24:23.000000000 -0600
3
@@ -33,7 +33,7 @@
4
 #ifndef VFS_H
5
 #define VFS_H
6
 
7
-
8
+#include <cstdio>
9
 #include "../Base.h"
10
 
11
 

Return to bug 150883