From owner-freebsd-ports Tue Oct 23 19:30:33 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 92B1C37B40A for ; Tue, 23 Oct 2001 19:30:20 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9O2UKa64727; Tue, 23 Oct 2001 19:30:20 -0700 (PDT) (envelope-from gnats) Received: from cc92687-a.wlgrv1.pa.home.com (cc92687-a.wlgrv1.pa.home.com [24.5.63.190]) by hub.freebsd.org (Postfix) with ESMTP id 1D88E37B406 for ; Tue, 23 Oct 2001 19:28:52 -0700 (PDT) Received: (from root@localhost) by cc92687-a.wlgrv1.pa.home.com (8.11.6/8.11.6) id f9O2So598467; Tue, 23 Oct 2001 22:28:50 -0400 (EDT) (envelope-from pat) Message-Id: <200110240228.f9O2So598467@cc92687-a.wlgrv1.pa.home.com> Date: Tue, 23 Oct 2001 22:28:50 -0400 (EDT) From: Patrick Li Reply-To: Patrick Li To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31464: Chase checksum: games/wmminichess Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 #include #include -#include #include #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