FreeBSD Bugzilla – Attachment 40458 Details for
Bug 63591
Update port: games/amphetamine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.77 KB, created by
tkato
on 2004-03-01 15:40:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2004-03-01 15:40:13 UTC
Size:
1.77 KB
patch
obsolete
>diff -urN /usr/ports/games/amphetamine/Makefile games/amphetamine/Makefile >--- /usr/ports/games/amphetamine/Makefile Fri Feb 27 18:58:01 2004 >+++ games/amphetamine/Makefile Mon Mar 1 19:57:44 2004 >@@ -24,14 +24,8 @@ > > DATAVERSION= 0.8.6 > >-.include <bsd.port.pre.mk> >- >-.if ${ARCH} != "i386" >-BROKEN= "Does not compile on !i386" >-.endif >- > post-install: > @cd ${WRKDIR}/amph && ${FIND} . | \ > ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/amph > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -urN /usr/ports/games/amphetamine/files/patch-ab games/amphetamine/files/patch-ab >--- /usr/ports/games/amphetamine/files/patch-ab Mon Jun 5 21:00:18 2000 >+++ games/amphetamine/files/patch-ab Mon Mar 1 19:52:17 2004 >@@ -1,27 +1,31 @@ >---- src/Main.cpp.orig Mon Jun 5 14:34:38 2000 >-+++ src/Main.cpp Mon Jun 5 14:34:30 2000 >-@@ -1,3 +1,5 @@ >+--- src/Main.cpp.orig Sun Mar 24 17:49:09 2002 >++++ src/Main.cpp Mon Mar 1 19:51:09 2004 >+@@ -1,3 +1,7 @@ >++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) ) > +#include <floatingpoint.h> >++#endif > + > #include "System.hpp" > #include "Appl.hpp" > #include "Clut.hpp" >-@@ -74,7 +76,7 @@ >- my_argc = argc; >+@@ -75,6 +79,9 @@ > my_argv = argv; > if (checkCommandLine()) return 0; >-- >+ >++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) ) > + fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV)); >++#endif > gApplication = new CApplication(); > gApplication->InitGraphics(); > gApplication->LoadData(); >-@@ -82,6 +84,9 @@ >- gApplication->UnloadData(); >+@@ -83,5 +90,10 @@ > gApplication->Quit(); > delete gApplication; >-+ >+ >++#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) ) > + fpresetsticky(FP_X_DZ|FP_X_INV); > + fpsetmask(FP_X_DZ|FP_X_INV); >- >++#endif >++ > return 0; > }
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 63591
: 40458