diff options
Diffstat (limited to 'japanese/edict/files/patch-aa')
-rw-r--r-- | japanese/edict/files/patch-aa | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/japanese/edict/files/patch-aa b/japanese/edict/files/patch-aa index 5bfcff7a9f9d..bf66c1d716d9 100644 --- a/japanese/edict/files/patch-aa +++ b/japanese/edict/files/patch-aa @@ -1,11 +1,20 @@ --- Makefile.orig Wed Sep 16 04:08:01 1998 -+++ Makefile Wed Oct 7 11:26:15 1998 ++++ Makefile Sat Jul 17 21:33:01 1999 +@@ -54,7 +54,7 @@ + # + #LIBS= -lsocket -lnsl + # +-CC=gcc -g ++#CC=gcc -g + all: xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen + client: xjdic_cl + server: xjdserver @@ -80,7 +80,7 @@ # SAOBJECTS = xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o #SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING -SACFLAGS = -DXJDFRONTEND -DXJDDIC -DMMAP -+SACFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDDIC -DMMAP ++SACFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDDIC -DMMAP ${CFLAGS} #SACFLAGS = -DXJDFRONTEND -DXJDDIC -DRAM_LOAD xjdic_sa: $(SAOBJECTS) $(CC) $(SAOBJECTS) -o xjdic_sa @@ -14,7 +23,16 @@ # CLOBJECTS = xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o -CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV -+CLCFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDCLSERV ++CLCFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDCLSERV ${CFLAGS} xjdic_cl: $(CLOBJECTS) $(CC) $(CLOBJECTS) $(LIBS) -o xjdic_cl xjdclient.o: xjdclient.c +@@ -112,7 +112,7 @@ + # + SVOBJECTS = xjdcomm_sv.o xjdservcomm_sv.o xjdserver.o + #SVCFLAGS = -DXJDDIC -DXJDCLSERV -DDEMAND_PAGING +-SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP ++SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP ${CFLAGS} + #SVCFLAGS = -DXJDDIC -DXJDCLSERV -DRAM_LOAD + xjdserver: $(SVOBJECTS) + $(CC) $(SVOBJECTS) $(LIBS) -o xjdserver |