diff options
author | edwin <edwin@FreeBSD.org> | 2002-10-25 08:12:49 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-10-25 08:12:49 +0000 |
commit | b74b0e426f622d299ce01ca4ecb86850a5dd7003 (patch) | |
tree | 679e9fbdbe7a5127101ba7b4cafdd1d86a27c86d /games/xlife | |
parent | bdad33d58184e38d797eac1c1a710d5bcd6c61ae (diff) | |
download | FreeBSD-ports-b74b0e426f622d299ce01ca4ecb86850a5dd7003.zip FreeBSD-ports-b74b0e426f622d299ce01ca4ecb86850a5dd7003.tar.gz |
Make games/xlife buildable on -CURRENT again
PR: ports/44264
Submitted by: Mark Huizer (xaa@dodh.org)
Reviewed by: kris@freebsd.org
Diffstat (limited to 'games/xlife')
-rw-r--r-- | games/xlife/files/patch-aa | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games/xlife/files/patch-aa b/games/xlife/files/patch-aa index f81e182..a2f9764 100644 --- a/games/xlife/files/patch-aa +++ b/games/xlife/files/patch-aa @@ -1,10 +1,13 @@ ---- ./data.h.org Thu Mar 21 13:47:04 1991 -+++ ./data.h Wed Mar 15 22:09:46 1995 -@@ -21,7 +21,7 @@ +--- data.h.orig Thu Mar 21 22:47:04 1991 ++++ data.h Sat Oct 19 16:05:33 2002 +@@ -20,8 +20,9 @@ + * PERFORMANCE OF THIS SOFTWARE. */ - extern int sys_nerr, errno; +-extern int sys_nerr, errno; -extern char *sys_errlist[]; ++extern const int sys_nerr; ++extern int errno; +/* extern char *sys_errlist[]; */ #define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)] |