FreeBSD Bugzilla – Attachment 55866 Details for
Bug 84343
[MAINTAINER UPDATE] games/freedroidrpg: fix compilation under FreeBSD >= 6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
freedroidrpg.diff
freedroidrpg.diff (text/plain), 2.62 KB, created by
Alejandro Pulver
on 2005-07-30 14:40:22 UTC
(
hide
)
Description:
freedroidrpg.diff
Filename:
MIME Type:
Creator:
Alejandro Pulver
Created:
2005-07-30 14:40:22 UTC
Size:
2.62 KB
patch
obsolete
>diff -urN freedroidrpg.old/Makefile freedroidrpg/Makefile >--- freedroidrpg.old/Makefile Mon Jul 25 04:35:28 2005 >+++ freedroidrpg/Makefile Fri Jul 29 14:29:11 2005 >@@ -15,14 +15,15 @@ > MAINTAINER= alejandro@varnet.biz > COMMENT= Modification of the classical Freedroid engine into an RPG > >-USE_XLIB= yes > USE_BZIP2= yes >-USE_SDL= mixer image net sdl > USE_REINPLACE= yes >-GNU_CONFIGURE= yes >+USE_GL= yes > USE_GMAKE= yes > USE_GNOME= gtk12 >+USE_SDL= mixer image net sdl >+USE_XLIB= yes > >+GNU_CONFIGURE= yes > CONFIGURE_ARGS= --program-transform-name= > > MAN6= freedroidRPG.6 >@@ -31,6 +32,10 @@ > > .if ${OSVERSION} < 500000 > BROKEN= "does not compile (missing fenv.h)" >+.endif >+ >+.if ${OSVERSION} < 600021 >+EXTRA_PATCHES= ${FILESDIR}/extra-patch-init.c > .endif > > post-patch: >diff -urN freedroidrpg.old/files/extra-patch-init.c freedroidrpg/files/extra-patch-init.c >--- freedroidrpg.old/files/extra-patch-init.c Wed Dec 31 21:00:00 1969 >+++ freedroidrpg/files/extra-patch-init.c Tue Jul 19 13:13:27 2005 >@@ -0,0 +1,18 @@ >+--- src/init.c.orig Mon Jul 18 02:00:54 2005 >++++ src/init.c Mon Jul 18 02:05:10 2005 >+@@ -58,14 +58,9 @@ >+ * section about 'Arithmethic', subsection on floating point control >+ * functions. >+ * ---------------------------------------------------------------------- */ >+-#if defined __APPLE_CC__ >+-/* turn off these function-call on OS X, where there are not present */ >++/* turn off these function-call */ >+ int feenableexcept (int excepts) { return 0;} >+ int fedisableexcept (int TheExceptionFlags ) { return 0; } >+-#else >+-extern int feenableexcept (int excepts); >+-extern int fedisableexcept (int TheExceptionFlags ); >+-#endif >+ >+ /* ---------------------------------------------------------------------- >+ * >diff -urN freedroidrpg.old/files/patch-init.c freedroidrpg/files/patch-init.c >--- freedroidrpg.old/files/patch-init.c Tue Jul 19 13:13:27 2005 >+++ freedroidrpg/files/patch-init.c Wed Dec 31 21:00:00 1969 >@@ -1,18 +0,0 @@ >---- src/init.c.orig Mon Jul 18 02:00:54 2005 >-+++ src/init.c Mon Jul 18 02:05:10 2005 >-@@ -58,14 +58,9 @@ >- * section about 'Arithmethic', subsection on floating point control >- * functions. >- * ---------------------------------------------------------------------- */ >--#if defined __APPLE_CC__ >--/* turn off these function-call on OS X, where there are not present */ >-+/* turn off these function-call */ >- int feenableexcept (int excepts) { return 0;} >- int fedisableexcept (int TheExceptionFlags ) { return 0; } >--#else >--extern int feenableexcept (int excepts); >--extern int fedisableexcept (int TheExceptionFlags ); >--#endif >- >- /* ---------------------------------------------------------------------- >- *
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84343
: 55866