FreeBSD Bugzilla – Attachment 81087 Details for
Bug 116149
games/uox3 fails to build with gcc 4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.61 KB, created by
Scot Hetzel
on 2007-09-06 12:00:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot Hetzel
Created:
2007-09-06 12:00:08 UTC
Size:
1.61 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/games/uox3/Makefile,v >retrieving revision 1.18 >diff -u -r1.18 Makefile >--- Makefile 2 Jul 2007 19:01:00 -0000 1.18 >+++ Makefile 6 Sep 2007 10:44:56 -0000 >@@ -28,10 +28,6 @@ > > .include <bsd.port.pre.mk> > >-.if ${OSVERSION} >= 700042 >-BROKEN= Does not compile with GCC 4.2 >-.endif >- > do-build: > cd ${WRKSRC}/dev && ${GMAKE} -f ${MAKEFILE} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" ${ALL_TARGET} > >Index: files/patch-al >=================================================================== >RCS file: /home/ncvs/ports/games/uox3/files/patch-al,v >retrieving revision 1.1 >diff -u -r1.1 patch-al >--- files/patch-al 27 Feb 2000 23:12:14 -0000 1.1 >+++ files/patch-al 6 Sep 2007 10:41:27 -0000 >@@ -1,5 +1,5 @@ >---- work/dev/uox3.h.orig Sun Feb 14 18:56:03 1999 >-+++ work/dev/uox3.h Sun Feb 27 11:28:45 2000 >+--- work/dev/uox3.h.orig 1999-02-14 18:56:03.000000000 -0600 >++++ work/dev/uox3.h 2007-09-06 05:37:55.229539705 -0500 > @@ -3,10 +3,10 @@ > //#define VER "0.69.02 (Test Build 03)" //Increment to 01 when putting out official test build > #define PRODUCT "Ultima Offline eXperiment 3" >@@ -42,6 +42,17 @@ > #endif > #include "im.h" > #include "uoxlist.h" >+@@ -51,8 +57,8 @@ >+ #include "worldmain.h" >+ // LINUX Definitions >+ #ifndef __NT__ >+-#define max(a,b) (a) >? (b) >+-#define min(a,b) (a) <? (b) >++#define max(a,b) ((a) >= (b) ? (a) : (b)) >++#define min(a,b) ((a) <= (b) ? (a) : (b)) >+ char *strlwr(char *); >+ char *strupr(char *); >+ #endif > @@ -349,7 +355,7 @@ > unsigned long int regen, regen2, regen3; > int runenumb; // Used for naming runes
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 116149
: 81087