| Summary: | Chase checksum: games/wmminichess | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | pat <pat> | ||||
| Component: | Individual Port(s) | Assignee: | freebsd-ports (Nobody) <ports> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed Committed, thanks! |
- Chase the checksum Fix: Patch: ------ Changes: -------- #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) {--EzhmxBoKuxSRMsjsh3YPEkjziYv8UpQtBDzpGuDRqXZ7wIAi Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" 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 How-To-Repeat: N/A