Date: Tue, 23 Oct 2001 22:28:50 -0400 (EDT) From: Patrick Li <pat@databits.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31464: Chase checksum: games/wmminichess Message-ID: <200110240228.f9O2So598467@cc92687-a.wlgrv1.pa.home.com>
next in thread | raw e-mail | index | archive | help
>Number: 31464 >Category: ports >Synopsis: Chase checksum: games/wmminichess >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 23 19:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Patrick Li >Release: FreeBSD 4.4-STABLE i386 >Organization: N/A >Environment: System: FreeBSD bottlenek 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Sep 29 17:22:31 EDT 2001 root@bottlenek:/usr/src/sys/compile/BOTTLENEK i386 >Description: - Chase the checksum >How-To-Repeat: N/A >Fix: Patch: ------ diff -ruN /usr/ports/games/wmminichess/Makefile wmminichess/Makefile --- /usr/ports/games/wmminichess/Makefile Thu Aug 3 05:23:55 2000 +++ wmminichess/Makefile Tue Oct 23 22:24:51 2001 @@ -15,6 +15,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gnuchessx:${PORTSDIR}/games/gnuchess +WRKSRC= ${WRKDIR}/miniCHESS USE_GMAKE= YES USE_X_PREFIX= YES USE_XPM= YES diff -ruN /usr/ports/games/wmminichess/distinfo wmminichess/distinfo --- /usr/ports/games/wmminichess/distinfo Wed Sep 29 23:18:29 1999 +++ wmminichess/distinfo Tue Oct 23 22:13:00 2001 @@ -1 +1 @@ -MD5 (miniCHESS-0.8.tar.gz) = 173422ee5651032e4d150ddc6e9f17c8 +MD5 (miniCHESS-0.8.tar.gz) = ae0c0a1bcc7723a8978cceee2709c4f7 Changes: -------- --- chess.c Mon Sep 13 13:15:50 1999 +++ ../../new/miniCHESS/chess.c Sun Aug 8 17:21:17 1999 @@ -29,7 +29,6 @@ #include <signal.h> #include <ctype.h> #include <sys/types.h> -#include <sys/select.h> #include <X11/xpm.h> #include "xgen.h" @@ -1960,7 +1959,7 @@ if (*color != '#') return 0; for (i = 0, color++; i < 6; i++) { - if (!isxdigit(*color++)) return 0; + if (!ishexnumber(*color++)) return 0; } return 1; } @@ -1990,11 +1989,11 @@ char * color; /* set up the default colors in the xpm */ - chess_xpm[DEAD_KING] = (char *)strdup("r c #ff0000"); - chess_xpm[BLACK_PIECE_BACKGROUND] = (char *)strdup("b c #000000"); - chess_xpm[BLACK_PIECE_FOREGROUND] = (char *)strdup("w c #ffffff"); - chess_xpm[DARK_SQUARE] = (char *)strdup("+ c #c8c365"); - chess_xpm[LIGHT_SQUARE] = (char *)strdup("- c #77a26d"); + chess_xpm[DEAD_KING] = strdup("r c #ff0000"); + chess_xpm[BLACK_PIECE_BACKGROUND] = strdup("b c #000000"); + chess_xpm[BLACK_PIECE_FOREGROUND] = strdup("w c #ffffff"); + chess_xpm[DARK_SQUARE] = strdup("+ c #c8c365"); + chess_xpm[LIGHT_SQUARE] = strdup("- c #77a26d"); while ((ch = getopt(argc, argv, "rahtd:c:T:C:k:b:f:1:2:")) != -1) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110240228.f9O2So598467>