Date: Fri, 2 Feb 2001 18:58:15 -0800 (PST) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org Subject: ports/24821: Update port: games/xmille Message-ID: <200102030258.f132wFb71986@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 24821 >Category: ports >Synopsis: Update port: games/xmille >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: Fri Feb 02 19:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.2-RELEASE i386 >Organization: >Environment: >Description: - Use .tar.gz archive instead of (vanished) .tar.Z archive - gets() -> fgets() New file: files/patch-ae files/patch-af files/patch-ag files/patch-ah Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/games/xmille/Makefile games/xmille/Makefile --- /usr/ports/games/xmille/Makefile Tue Jan 30 21:05:38 2001 +++ games/xmille/Makefile Thu Feb 1 00:35:16 2001 @@ -7,16 +7,20 @@ PORTNAME= xmille PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_XCONTRIB} \ - ftp://gatekeeper.dec.com/pub/X11-contrib/ +MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= games -DISTFILES= xmille.tar.Z +DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +WRKSRC= ${WRKDIR}/Mille + USE_IMAKE= yes -NO_WRKSUBDIR= yes MAN1= xmille.1 + +post-extract: + @find ${WRKSRC} -name '*.[ao]' -delete .include <bsd.port.mk> diff -urN /usr/ports/games/xmille/distinfo games/xmille/distinfo --- /usr/ports/games/xmille/distinfo Thu Jan 5 13:02:42 1995 +++ games/xmille/distinfo Wed Jan 31 22:59:27 2001 @@ -1 +1 @@ -MD5 (xmille.tar.Z) = 02dec1275c13d1f5e14588062c431636 +MD5 (xmille.tar.gz) = 31b018c3a02647c21b3369ade19dcd90 diff -urN /usr/ports/games/xmille/files/patch-aa games/xmille/files/patch-aa --- /usr/ports/games/xmille/files/patch-aa Sat Dec 31 14:34:26 1994 +++ games/xmille/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,48 +0,0 @@ -*** drawcard.c.orig Thu Sep 16 00:47:18 1993 ---- drawcard.c Thu Sep 16 00:41:29 1993 -*************** -*** 183,194 **** - WIDTH, HEIGHT); - - XSetForeground(dpy, cheap_gc, bits_p); -! XSetStipple(dpy, cheap_gc, bits); - XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, - WIDTH, HEIGHT); - - XSetForeground(dpy, cheap_gc, mask_p); -! XSetStipple(dpy, cheap_gc, mask); - XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, - WIDTH, HEIGHT); - ---- 183,194 ---- - WIDTH, HEIGHT); - - XSetForeground(dpy, cheap_gc, bits_p); -! XSetStipple(dpy, cheap_gc, mask); - XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, - WIDTH, HEIGHT); - - XSetForeground(dpy, cheap_gc, mask_p); -! XSetStipple(dpy, cheap_gc, bits); - XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, - WIDTH, HEIGHT); - -*** roll.c.orig Thu Apr 2 06:15:57 1992 ---- roll.c Thu Sep 16 00:36:38 1993 -*************** -*** 7,13 **** - - # define reg register - -! # if (! defined ultrix && ! defined mips && ! defined vax) - # define MAXRAND 32767L - - roll(ndie, nsides) ---- 7,13 ---- - - # define reg register - -! # if (! defined ultrix && ! defined mips && ! defined vax && ! defined __386BSD__ && ! defined __FreeBSD__) - # define MAXRAND 32767L - - roll(ndie, nsides) diff -urN /usr/ports/games/xmille/files/patch-ab games/xmille/files/patch-ab --- /usr/ports/games/xmille/files/patch-ab Sat Dec 31 14:34:26 1994 +++ games/xmille/files/patch-ab Wed Jan 31 23:05:08 2001 @@ -1,19 +1,11 @@ -*** Imakefile.orig Thu Apr 2 06:03:24 1992 ---- Imakefile Fri Dec 30 21:14:47 1994 -*************** -*** 5,11 **** - /**/# Dana Chee - /**/# - #define IHaveSubdirs -! #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) DEFINES=$(DEFINES)' - - HEADERS = ui.h - SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \ ---- 5,11 ---- - /**/# Dana Chee - /**/# - #define IHaveSubdirs -! #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) $(DEFINES)' - - HEADERS = ui.h - SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \ +--- Imakefile.orig Thu Apr 2 23:03:24 1992 ++++ Imakefile Wed Jan 31 23:04:28 2001 +@@ -5,7 +5,7 @@ + /**/# Dana Chee + /**/# + #define IHaveSubdirs +-#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) DEFINES=$(DEFINES)' ++#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) $(DEFINES)' + + HEADERS = ui.h + SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \ diff -urN /usr/ports/games/xmille/files/patch-ac games/xmille/files/patch-ac --- /usr/ports/games/xmille/files/patch-ac Sat Dec 31 14:34:26 1994 +++ games/xmille/files/patch-ac Wed Jan 31 23:05:40 2001 @@ -1,14 +1,12 @@ -*** save.c.orig Wed Apr 1 12:56:45 1992 ---- save.c Fri Dec 30 21:17:28 1994 -*************** -*** 22,28 **** ---- 22,30 ---- - * This routine saves the current game for use at a later date - */ - extern int errno; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - - save() { - +--- save.c.orig Thu Apr 2 05:56:45 1992 ++++ save.c Wed Jan 31 23:04:29 2001 +@@ -22,7 +22,9 @@ + * This routine saves the current game for use at a later date + */ + extern int errno; ++#ifndef __FreeBSD__ + extern char *sys_errlist[]; ++#endif + + save() { + diff -urN /usr/ports/games/xmille/files/patch-ad games/xmille/files/patch-ad --- /usr/ports/games/xmille/files/patch-ad Thu Jan 1 09:00:00 1970 +++ games/xmille/files/patch-ad Wed Jan 31 23:05:21 2001 @@ -0,0 +1,17 @@ +--- drawcard.c.orig Thu Apr 2 05:55:06 1992 ++++ drawcard.c Wed Jan 31 23:04:23 2001 +@@ -183,12 +183,12 @@ + WIDTH, HEIGHT); + + XSetForeground(dpy, cheap_gc, bits_p); +- XSetStipple(dpy, cheap_gc, bits); ++ XSetStipple(dpy, cheap_gc, mask); + XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, + WIDTH, HEIGHT); + + XSetForeground(dpy, cheap_gc, mask_p); +- XSetStipple(dpy, cheap_gc, mask); ++ XSetStipple(dpy, cheap_gc, bits); + XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0, + WIDTH, HEIGHT); + diff -urN /usr/ports/games/xmille/files/patch-ae games/xmille/files/patch-ae --- /usr/ports/games/xmille/files/patch-ae Thu Jan 1 09:00:00 1970 +++ games/xmille/files/patch-ae Thu Feb 1 00:26:54 2001 @@ -0,0 +1,11 @@ +--- mille.c.orig Thu Mar 28 14:29:31 1996 ++++ mille.c Thu Feb 1 00:23:54 2001 +@@ -10,7 +10,7 @@ + + int rub(); + +-/*char _sobuf[BUFSIZ];*/ ++char _sobuf[BUFSIZ]; + + main(ac, av) + reg int ac; diff -urN /usr/ports/games/xmille/files/patch-af games/xmille/files/patch-af --- /usr/ports/games/xmille/files/patch-af Thu Jan 1 09:00:00 1970 +++ games/xmille/files/patch-af Thu Feb 1 00:34:08 2001 @@ -0,0 +1,11 @@ +--- move.c.orig Thu Mar 28 15:13:44 1996 ++++ move.c Thu Feb 1 00:33:58 2001 +@@ -9,8 +9,6 @@ + #endif + #define CTRL(c) (c - 'A' + 1) + +-#define ANIMATE 1 +- + /*extern FILE *outf;*/ + + char *Movenames[] = { diff -urN /usr/ports/games/xmille/files/patch-ag games/xmille/files/patch-ag --- /usr/ports/games/xmille/files/patch-ag Thu Jan 1 09:00:00 1970 +++ games/xmille/files/patch-ag Wed Jan 31 23:05:31 2001 @@ -0,0 +1,11 @@ +--- roll.c.orig Thu Apr 2 23:16:11 1992 ++++ roll.c Wed Jan 31 23:04:23 2001 +@@ -7,7 +7,7 @@ + + # define reg register + +-# if (! defined ultrix && ! defined mips && ! defined vax) ++# if (! defined ultrix && ! defined mips && ! defined vax && ! defined __386BSD__ && ! defined __FreeBSD__) + # define MAXRAND 32767L + + roll(ndie, nsides) diff -urN /usr/ports/games/xmille/files/patch-ah games/xmille/files/patch-ah --- /usr/ports/games/xmille/files/patch-ah Thu Jan 1 09:00:00 1970 +++ games/xmille/files/patch-ah Thu Feb 1 00:28:05 2001 @@ -0,0 +1,11 @@ +--- varpush.c.orig Wed Jul 8 11:33:36 1987 ++++ varpush.c Thu Feb 1 00:27:53 2001 +@@ -36,7 +36,7 @@ + char buf[80]; + over: + printf("Debug file:"); +- gets(buf); ++ fgets(buf, sizeof(buf), stdin); + if ((outf = fopen(buf, "w")) == NULL) { + perror(buf); + goto over; >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?200102030258.f132wFb71986>