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

(-)freedroidrpg/Makefile (-3 / +8 lines)
Lines 15-28 Link Here
15
MAINTAINER=	alejandro@varnet.biz
15
MAINTAINER=	alejandro@varnet.biz
16
COMMENT=	Modification of the classical Freedroid engine into an RPG
16
COMMENT=	Modification of the classical Freedroid engine into an RPG
17
17
18
USE_XLIB=	yes
19
USE_BZIP2=	yes
18
USE_BZIP2=	yes
20
USE_SDL=	mixer image net sdl
21
USE_REINPLACE=	yes
19
USE_REINPLACE=	yes
22
GNU_CONFIGURE=	yes
20
USE_GL=		yes
23
USE_GMAKE=	yes
21
USE_GMAKE=	yes
24
USE_GNOME=	gtk12
22
USE_GNOME=	gtk12
23
USE_SDL=	mixer image net sdl
24
USE_XLIB=	yes
25
25
26
GNU_CONFIGURE=	yes
26
CONFIGURE_ARGS=	--program-transform-name=
27
CONFIGURE_ARGS=	--program-transform-name=
27
28
28
MAN6=		freedroidRPG.6
29
MAN6=		freedroidRPG.6
Lines 31-36 Link Here
31
32
32
.if ${OSVERSION} < 500000
33
.if ${OSVERSION} < 500000
33
BROKEN=		"does not compile (missing fenv.h)"
34
BROKEN=		"does not compile (missing fenv.h)"
35
.endif
36
37
.if ${OSVERSION} < 600021
38
EXTRA_PATCHES=	${FILESDIR}/extra-patch-init.c
34
.endif
39
.endif
35
40
36
post-patch:
41
post-patch:
(-)freedroidrpg/files/extra-patch-init.c (+18 lines)
Line 0 Link Here
1
--- src/init.c.orig	Mon Jul 18 02:00:54 2005
2
+++ src/init.c		Mon Jul 18 02:05:10 2005
3
@@ -58,14 +58,9 @@
4
  * section about 'Arithmethic', subsection on floating point control
5
  * functions.
6
  * ---------------------------------------------------------------------- */
7
-#if defined __APPLE_CC__
8
-/* turn off these function-call on OS X, where there are not present */
9
+/* turn off these function-call */
10
 int feenableexcept (int excepts) { return 0;}
11
 int fedisableexcept (int TheExceptionFlags ) { return 0; }
12
-#else
13
-extern int feenableexcept (int excepts);
14
-extern int fedisableexcept (int TheExceptionFlags );
15
-#endif
16
 
17
 /* ----------------------------------------------------------------------
18
  *
(-)freedroidrpg/files/patch-init.c (-18 lines)
Lines 1-18 Link Here
1
--- src/init.c.orig	Mon Jul 18 02:00:54 2005
2
+++ src/init.c		Mon Jul 18 02:05:10 2005
3
@@ -58,14 +58,9 @@
4
  * section about 'Arithmethic', subsection on floating point control
5
  * functions.
6
  * ---------------------------------------------------------------------- */
7
-#if defined __APPLE_CC__
8
-/* turn off these function-call on OS X, where there are not present */
9
+/* turn off these function-call */
10
 int feenableexcept (int excepts) { return 0;}
11
 int fedisableexcept (int TheExceptionFlags ) { return 0; }
12
-#else
13
-extern int feenableexcept (int excepts);
14
-extern int fedisableexcept (int TheExceptionFlags );
15
-#endif
16
 
17
 /* ----------------------------------------------------------------------
18
  *

Return to bug 84343