diff -u xkobo-1.11/README xkobo-1.11-jason/README --- xkobo-1.11/README Thu Jan 9 21:18:02 1997 +++ xkobo-1.11-jason/README Mon May 24 23:32:28 2004 @@ -33,11 +33,13 @@ ------------------------------------------------------------------------- -* INSTALLING +* BUILDING Edit Imakefile (if you need) and run % xmkmf -a - % make + % make xkobo + +* INSTALLING % su # make install # make install.man Only in xkobo-1.11-jason: changes.patch diff -u xkobo-1.11/file.C xkobo-1.11-jason/file.C --- xkobo-1.11/file.C Thu Jan 9 21:17:36 1997 +++ xkobo-1.11-jason/file.C Mon Feb 10 22:47:59 2003 @@ -29,8 +29,9 @@ #include } -int load_block(char *file_name, void *t, int len) +int load_block(char *file_name, void *_t, int len) { + char *t = (char *) _t; int i, fd, ret = 0; fd = open(file_name, O_RDONLY, 0); @@ -55,8 +56,9 @@ return ret; } -int save_block(char *file_name, void *t, int len) +int save_block(char *file_name, void *_t, int len) { + char *t = (char *)_t; int i, fd, ret = 0; fd = open(file_name, O_CREAT|O_WRONLY, 0644); diff -u xkobo-1.11/map.h xkobo-1.11-jason/map.h --- xkobo-1.11/map.h Wed Apr 3 16:58:52 1996 +++ xkobo-1.11-jason/map.h Mon Feb 10 22:47:59 2003 @@ -38,10 +38,10 @@ #define HIT_MASK (CORE | U_MASK | R_MASK | D_MASK | L_MASK) class _map{ - const int sx_log2 = MAP_SIZEX_LOG2; - const int sy_log2 = MAP_SIZEY_LOG2; - const int sx = 1 << sx_log2; - const int sy = 1 << sy_log2; + static const int sx_log2 = MAP_SIZEX_LOG2; + static const int sy_log2 = MAP_SIZEY_LOG2; + static const int sx = 1 << sx_log2; + static const int sy = 1 << sy_log2; int sitex[SITE_MAX]; int sitey[SITE_MAX]; int site_max; diff -u xkobo-1.11/xkobo.C xkobo-1.11-jason/xkobo.C --- xkobo-1.11/xkobo.C Fri Jun 14 13:27:27 1996 +++ xkobo-1.11-jason/xkobo.C Mon Feb 10 22:47:59 2003 @@ -51,7 +51,7 @@ static int signal_delivered = 1; -static void sig_handle(...) +static void sig_handle(int) { signal_delivered = 1; }