diff -x Makefile -upr sj3-2.0.1.20.orig/dict/dict/Imakefile sj3-2.0.1.20/dict/dict/Imakefile --- sj3-2.0.1.20.orig/dict/dict/Imakefile 1997-01-23 20:20:51.000000000 +0900 +++ sj3-2.0.1.20/dict/dict/Imakefile 2024-01-08 18:04:37.446000000 +0900 @@ -48,7 +48,7 @@ OUTPUT = Moutput XCOMM INSTFLAGS = -o $(SJ3OWNER) -g $(SJ3GROUP) -m 444 -all: $(OBJS) +all:: $(OBJS) $(OBJS): $(SRCS) $(TOOL_DIR)/$(TOOL_NAME) $(SRCS) $(OBJS) > $(OUTPUT) diff -x Makefile -upr sj3-2.0.1.20.orig/sj3/nmttyslot.c sj3-2.0.1.20/sj3/nmttyslot.c --- sj3-2.0.1.20.orig/sj3/nmttyslot.c 1994-06-03 17:03:21.000000000 +0900 +++ sj3-2.0.1.20/sj3/nmttyslot.c 2024-01-08 18:08:56.637000000 +0900 @@ -46,7 +46,7 @@ char *ttyname(); -char *getttys(); +static char *getttys(); char *strrchr(); static char *ttys = "/etc/ttys"; diff -x Makefile -upr sj3-2.0.1.20.orig/sj3/sj3.c sj3-2.0.1.20/sj3/sj3.c --- sj3-2.0.1.20.orig/sj3/sj3.c 1998-01-14 14:52:48.000000000 +0900 +++ sj3-2.0.1.20/sj3/sj3.c 2024-01-08 18:07:42.277000000 +0900 @@ -1058,7 +1058,7 @@ exitprocess () return; if (info.si_code == CLD_STOPPED) #else - union wait status; + int status; int pid; /* diff -x Makefile -upr sj3-2.0.1.20.orig/sj3.tmpl sj3-2.0.1.20/sj3.tmpl --- sj3-2.0.1.20.orig/sj3.tmpl 1997-01-23 20:20:58.000000000 +0900 +++ sj3-2.0.1.20/sj3.tmpl 2024-01-08 18:05:56.994000000 +0900 @@ -58,7 +58,9 @@ SJ3OWNER = root USETLI = -DTLI SJ3GROUP = bin #else -SJ3GROUP = staff +SJ3GROUP = bin #endif +CFLAGS += -fcommon + #endif