diff -uarN orig/netmaj/Makefile netmaj/Makefile --- orig/netmaj/Makefile 2007-01-19 17:55:01.000000000 +0900 +++ netmaj/Makefile 2007-01-18 17:26:40.000000000 +0900 @@ -27,7 +27,7 @@ SHELL=${SH} # Install Directory -LIBDIR=${PREFIX}/lib/netmaj +LIBDIR=${PREFIX}/lib BINDIR=${PREFIX}/bin PERL=${PERL5} diff -uarN orig/netmaj/global.h netmaj/global.h --- orig/netmaj/global.h 2007-01-19 17:55:01.000000000 +0900 +++ netmaj/global.h 2007-01-18 19:44:54.000000000 +0900 @@ -40,8 +40,10 @@ #define index strchr #define rindex strrchr #endif +#if 0 extern char *index(); extern char *rindex(); +#endif extern FILE *plog; /* protocol logging */ diff -uarN orig/netmaj/xui/Imakefile netmaj/xui/Imakefile --- orig/netmaj/xui/Imakefile 1996-08-01 07:46:11.000000000 +0900 +++ netmaj/xui/Imakefile 2007-01-18 19:24:01.000000000 +0900 @@ -1,6 +1,6 @@ # Please Modifed Here -BINDIR=/usr/local/bin -LIBDIR=/usr/local/lib/netmaj +BINDIR=/usr/iekei/game/netmaj/bin +LIBDIR=/usr/iekei/game/netmaj/lib ######################################################## diff -uarN orig/netmaj/xui/misc/M netmaj/xui/misc/M --- orig/netmaj/xui/misc/M 1996-11-11 23:44:11.000000000 +0900 +++ netmaj/xui/misc/M 2007-01-18 19:37:47.000000000 +0900 @@ -39,8 +39,8 @@ INSTALL=install LIBS= CFLAGS= -BINDIR=/usr/local/bin -LIBDIR=/usr/local/lib/netmaj +BINDIR=/usr/iekei/game/netmaj/bin +LIBDIR=/usr/iekei/game/netmaj/lib #CP1=$(INSTALL) -s -m 755 -o bin -g bin #CP2=$(INSTALL) -c -m 666 -o bin -g bin CP1=$(INSTALL) -s diff -uarN orig/netmaj/xui/src/gt/dev/byteord.h netmaj/xui/src/gt/dev/byteord.h --- orig/netmaj/xui/src/gt/dev/byteord.h 1996-10-28 05:03:25.000000000 +0900 +++ netmaj/xui/src/gt/dev/byteord.h 1970-01-01 09:00:00.000000000 +0900 @@ -1 +0,0 @@ -#define ENDIAN 1234 diff -uarN orig/netmaj/xui/src/gt/widget/Makefile netmaj/xui/src/gt/widget/Makefile --- orig/netmaj/xui/src/gt/widget/Makefile 1996-06-21 13:21:27.000000000 +0900 +++ netmaj/xui/src/gt/widget/Makefile 2007-01-18 19:28:19.000000000 +0900 @@ -11,7 +11,7 @@ SRC = pixcont.c core.c _3d.c conf.c \ item.c \ - menu.c vararg.c \ + menu.c \ button.c frame.c \ widget.c toplevel.c pixmapfr.c \ text.c \ diff -uarN orig/netmaj/xui/src/gt/widget/vararg.c netmaj/xui/src/gt/widget/vararg.c --- orig/netmaj/xui/src/gt/widget/vararg.c 1996-08-01 07:48:00.000000000 +0900 +++ netmaj/xui/src/gt/widget/vararg.c 2007-01-18 19:27:49.000000000 +0900 @@ -34,7 +34,7 @@ */ -#include +#include call_varargs (va_alist) va_dcl diff -uarN orig/netmaj/xui/src/gt/widget/widget.h netmaj/xui/src/gt/widget/widget.h --- orig/netmaj/xui/src/gt/widget/widget.h 1996-08-01 07:48:02.000000000 +0900 +++ netmaj/xui/src/gt/widget/widget.h 2007-01-18 19:27:25.000000000 +0900 @@ -75,7 +75,7 @@ _base_widget_body; }; -#include +#include #include "gt/widget/resource.h" #include "gt/widget/event.h" diff -uarN orig/netmaj/xui/src/xui/advice.c netmaj/xui/src/xui/advice.c --- orig/netmaj/xui/src/xui/advice.c 1996-08-01 07:49:25.000000000 +0900 +++ netmaj/xui/src/xui/advice.c 2007-01-18 19:48:36.000000000 +0900 @@ -93,7 +93,7 @@ read_pix (advtenpai, pm_advtenpai); } -static integer_t +integer_t tenpai_p (gp, who) global_t *gp; integer_t who; diff -uarN orig/netmaj/xui/src/xui/decl.h netmaj/xui/src/xui/decl.h --- orig/netmaj/xui/src/xui/decl.h 1996-08-01 07:49:39.000000000 +0900 +++ netmaj/xui/src/xui/decl.h 2007-01-18 19:48:12.000000000 +0900 @@ -83,6 +83,9 @@ #endif /* attr.c */ +#if defined(__NetBSD__) +typedef wchar_t attr_t; +#endif void attr_init P_((void)); gpixmap2_t attr2pix P_((attr_t n, integer_t kind)); diff -uarN orig/netmaj/xui/src/xui/rank.c netmaj/xui/src/xui/rank.c --- orig/netmaj/xui/src/xui/rank.c 1996-08-01 07:50:25.000000000 +0900 +++ netmaj/xui/src/xui/rank.c 2007-01-18 19:49:30.000000000 +0900 @@ -217,7 +217,7 @@ { } -static int +int sort_money (list, p) struct playerinfo *list, *p; { @@ -228,7 +228,7 @@ return 0; } -static int +int sort_point (list, p) struct playerinfo *list, *p; { @@ -257,7 +257,7 @@ return 0; } -static int +int sort_furi (list, p) struct playerinfo *list, *p; {