From b03c2f9c33ea00f34e3d6cb3ce126f54f0f2f30f Mon Sep 17 00:00:00 2001 From: Andreas Schulz Date: Sat, 8 Jul 1995 21:40:01 +0000 Subject: [PATCH] Makefile: Fix the use of /usr/X386 to ${X11BASE}. Fix the pathname /usr/bin/chess to /usr/games/chess. XCircle.c: Fix the comment after an ifdef to make it a real comment to silent gcc. std.h: Comment out a private definition of sys_errlist. --- gnu/games/chess/Xchess/Makefile | 8 ++++---- gnu/games/chess/Xchess/XCircle.c | 4 ++-- gnu/games/chess/Xchess/std.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/games/chess/Xchess/Makefile b/gnu/games/chess/Xchess/Makefile index bbf27899dde5..c4d0d78adcd9 100644 --- a/gnu/games/chess/Xchess/Makefile +++ b/gnu/games/chess/Xchess/Makefile @@ -1,4 +1,4 @@ -# RCS Info: $Revision: 1.2 $ on $Date: 1994/01/07 11:10:39 $ +# RCS Info: $Revision: 1.3 $ on $Date: 1995/05/30 04:41:16 $ # $Source: /home/ncvs/src/gnu/games/chess/Xchess/Makefile,v $ # Copyright (c) 1985 Wayne A. Christopher, U. C. Berkeley CAD Group # @@ -47,15 +47,15 @@ SOURCE = $(CFILES) ALLFILES = $(SOURCE) $(HFILES) -INCLUDE = -I. -I/usr/X386/include +INCLUDE = -I. -I${X11BASE}/include -DEFINES = -DDEF_PROGRAM=\"/usr/bin/chess\" +DEFINES = -DDEF_PROGRAM=\"/usr/games/chess\" CFLAGS = $(DEFINES) $(INCLUDE) LINTFLAGS = -u -z -lc -DLINT $(DEFINES) $(INCLUDE) LINTLIB = ../lib/llib-lX.ln #LDFLAGS = -L/usr2/X/lib -z -lX -lm -LDFLAGS = -L/usr/X386/lib -loldX -lX11 -z -lm +LDFLAGS = -L${X11BASE}/lib -loldX -lX11 -z -lm GPLDFLAGS = -z -loldX -lX11 -lXMenu_p -lX -lm_p -g -pg .c.o: $*.c diff --git a/gnu/games/chess/Xchess/XCircle.c b/gnu/games/chess/Xchess/XCircle.c index 3d1b1c8d223a..55148550e95c 100644 --- a/gnu/games/chess/Xchess/XCircle.c +++ b/gnu/games/chess/Xchess/XCircle.c @@ -20,7 +20,7 @@ file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ -/* RCS Info: $Revision: 1.1.1.1 $ on $Date: 1993/06/12 14:41:12 $ +/* RCS Info: $Revision: 1.2 $ on $Date: 1995/05/30 04:41:18 $ * $Source: /home/ncvs/src/gnu/games/chess/Xchess/XCircle.c,v $ * Copyright (c) 1986 Wayne A. Christopher, U. C. Berkeley CAD Group * Permission is granted to do anything with this code except sell it @@ -104,7 +104,7 @@ XCircle(win, x, y, rad, start, end, width, height, pixel, func, planes) return; } -#ifdef notdef VertexCurved is screwed up +#ifdef notdef /* VertexCurved is screwed up */ void XCircle(win, x, y, rad, start, end, width, height, pixel, func, planes) diff --git a/gnu/games/chess/Xchess/std.h b/gnu/games/chess/Xchess/std.h index fc8fa6460dcb..19cb1da8c813 100644 --- a/gnu/games/chess/Xchess/std.h +++ b/gnu/games/chess/Xchess/std.h @@ -20,8 +20,8 @@ file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ -/* RCS Info: $Revision: 1.2 $ on $Date: 86/11/23 17:18:32 $ - * $Source: /users/faustus/xchess/RCS/std.h,v $ +/* RCS Info: $Revision: 1.1.1.1 $ on $Date: 1993/06/12 14:41:06 $ + * $Source: /home/ncvs/src/gnu/games/chess/Xchess/std.h,v $ * Copyright (c) 1986 Wayne A. Christopher, U. C. Berkeley CAD Group * * Standard definitions. @@ -70,7 +70,7 @@ extern bool substring(); extern char *getenv(); extern int errno; -extern char *sys_errlist[]; +/* extern char *sys_errlist[]; */ /* Should use BSIZE instead of BUFSIZ... */