diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1996-11-17 11:53:34 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1996-11-17 11:53:34 +0000 |
commit | 9f312008ed02a7c4f1ab8afaebb231177f26f45d (patch) | |
tree | 1745b7b8f966bc21cd66304a8a28bbfddab29be5 /games/xshogi/files | |
parent | This sucker will beat you in shogi. Closes PR 1885/2018. (diff) |
X frontend to GNU shogi. Closes PR 1886/2028.
Submitted by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
Diffstat (limited to 'games/xshogi/files')
-rw-r--r-- | games/xshogi/files/patch-aa | 79 | ||||
-rw-r--r-- | games/xshogi/files/patch-ab | 19 |
2 files changed, 98 insertions, 0 deletions
diff --git a/games/xshogi/files/patch-aa b/games/xshogi/files/patch-aa new file mode 100644 index 000000000000..d0316e6fbb4e --- /dev/null +++ b/games/xshogi/files/patch-aa @@ -0,0 +1,79 @@ +*** Makefile.custom.orig Wed May 24 14:12:05 1995 +--- Makefile.custom Fri Oct 25 06:38:10 1996 +*************** +*** 28,45 **** + VERS = 1.2p03 + + # Installation directory +! prefix=/usr/local + #prefix=/public/projects/shogi + + # Change these to something less transitory, like /usr/games, and then + # compile. + # Where the binaries live (especially gnushogix). +! BINDIR= $(prefix)/games + #BINDIR=/public/projects/shogi/bin + +- + # Distribution directory +! DISTDIR=/public/projects/shogi + + # Compress program + COMPRESS = gzip +--- 28,44 ---- + VERS = 1.2p03 + + # Installation directory +! prefix=/usr/X11R6 + #prefix=/public/projects/shogi + + # Change these to something less transitory, like /usr/games, and then + # compile. + # Where the binaries live (especially gnushogix). +! BINDIR= $(prefix)/bin + #BINDIR=/public/projects/shogi/bin + + # Distribution directory +! DISTDIR=/usr/ports/games/xshogi/work + + # Compress program + COMPRESS = gzip +*************** +*** 73,80 **** + #CCOPTIONS= -g + #LDOPTIONS= -lXaw -lXmu -lXt -lXext -lX11 + # This is for cc on SunOS with debug +! CCOPTIONS= -g -I/usr/include +! LDOPTIONS= -L/usr/lib -lXaw -lXmu -lXt -lXext -lX11 + + # Options for xshogi + # Use -DSENDTIME with at least gnushogix 1.2 patchlevel 3 +--- 72,80 ---- + #CCOPTIONS= -g + #LDOPTIONS= -lXaw -lXmu -lXt -lXext -lX11 + # This is for cc on SunOS with debug +! CCOPTIONS= -g -O2 -m486 -pipe -fno-strength-reduce \ +! -I/usr/include -I/usr/X11R6/include +! LDOPTIONS= -L/usr/lib -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lX11 + + # Options for xshogi + # Use -DSENDTIME with at least gnushogix 1.2 patchlevel 3 +*************** +*** 88,95 **** + # The option -DISS compiles xshogi for supporting the Internet Shogi Server. + OPT = -DHAS_GETTIMEOFDAY -DSENDTIME -DISS -DTOP_PART_BITMAPS # -DBOTH_BITMAPS -DWESTERN_BITMAPS + +! FIRST_PROGRAM = -DFIRST_CHESS_PROGRAM=\"$(BINDIR)/gnushogix\" +! SECOND_PROGRAM = -DSECOND_CHESS_PROGRAM=\"$(BINDIR)/gnushogix\" + FIRST_HOST = -DFIRST_HOST=\"localhost\" + SECOND_HOST = -DSECOND_HOST=\"localhost\" + +--- 88,95 ---- + # The option -DISS compiles xshogi for supporting the Internet Shogi Server. + OPT = -DHAS_GETTIMEOFDAY -DSENDTIME -DISS -DTOP_PART_BITMAPS # -DBOTH_BITMAPS -DWESTERN_BITMAPS + +! FIRST_PROGRAM = -DFIRST_CHESS_PROGRAM=\"/usr/local/libexec/gnushogix\" +! SECOND_PROGRAM = -DSECOND_CHESS_PROGRAM=\"/usr/local/libexec/gnushogix\" + FIRST_HOST = -DFIRST_HOST=\"localhost\" + SECOND_HOST = -DSECOND_HOST=\"localhost\" + diff --git a/games/xshogi/files/patch-ab b/games/xshogi/files/patch-ab new file mode 100644 index 000000000000..05b984ec8ee8 --- /dev/null +++ b/games/xshogi/files/patch-ab @@ -0,0 +1,19 @@ +*** xshogi.c.org Tue Oct 8 01:04:00 1996 +--- xshogi.c Tue Oct 8 01:04:26 1996 +*************** +*** 7132,7138 **** + XtInputId *id; + { + char message[MSG_SIZ], *end_str, *number, *name; +! extern char *sys_errlist[]; + + if (fgets(message, MSG_SIZ, fp) == NULL) { + if (fp == fromFirstProgFP) { +--- 7132,7138 ---- + XtInputId *id; + { + char message[MSG_SIZ], *end_str, *number, *name; +! /*extern char *sys_errlist[];*/ + + if (fgets(message, MSG_SIZ, fp) == NULL) { + if (fp == fromFirstProgFP) { |