diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-02-03 17:00:35 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-02-03 17:00:35 +0000 |
commit | a6d16c497166b981d3fe813b6b9ab7ae50aee4d5 (patch) | |
tree | f8d3e3fb2e25ac910d77788137e0d7e04567efeb /games/xmille/files | |
parent | d512958cbb37ad6366a4fea87b64f9daa1aa6a6a (diff) | |
download | ports-a6d16c497166b981d3fe813b6b9ab7ae50aee4d5.tar.gz ports-a6d16c497166b981d3fe813b6b9ab7ae50aee4d5.zip |
Notes
Diffstat (limited to 'games/xmille/files')
-rw-r--r-- | games/xmille/files/patch-aa | 48 | ||||
-rw-r--r-- | games/xmille/files/patch-ab | 30 | ||||
-rw-r--r-- | games/xmille/files/patch-ac | 26 | ||||
-rw-r--r-- | games/xmille/files/patch-ad | 17 | ||||
-rw-r--r-- | games/xmille/files/patch-ae | 11 | ||||
-rw-r--r-- | games/xmille/files/patch-af | 11 | ||||
-rw-r--r-- | games/xmille/files/patch-ag | 11 | ||||
-rw-r--r-- | games/xmille/files/patch-ah | 11 |
8 files changed, 84 insertions, 81 deletions
diff --git a/games/xmille/files/patch-aa b/games/xmille/files/patch-aa deleted file mode 100644 index e4901f80ece5..000000000000 --- a/games/xmille/files/patch-aa +++ /dev/null @@ -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 --git a/games/xmille/files/patch-ab b/games/xmille/files/patch-ab index cd9ce57c259d..f21668f9fd04 100644 --- a/games/xmille/files/patch-ab +++ b/games/xmille/files/patch-ab @@ -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 --git a/games/xmille/files/patch-ac b/games/xmille/files/patch-ac index 6a1f787e3137..c8338cd71e64 100644 --- a/games/xmille/files/patch-ac +++ b/games/xmille/files/patch-ac @@ -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 --git a/games/xmille/files/patch-ad b/games/xmille/files/patch-ad new file mode 100644 index 000000000000..16ef005244ac --- /dev/null +++ b/games/xmille/files/patch-ad @@ -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 --git a/games/xmille/files/patch-ae b/games/xmille/files/patch-ae new file mode 100644 index 000000000000..b53110ee65b8 --- /dev/null +++ b/games/xmille/files/patch-ae @@ -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 --git a/games/xmille/files/patch-af b/games/xmille/files/patch-af new file mode 100644 index 000000000000..7bc6bf5eebe2 --- /dev/null +++ b/games/xmille/files/patch-af @@ -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 --git a/games/xmille/files/patch-ag b/games/xmille/files/patch-ag new file mode 100644 index 000000000000..0ee99c117ee9 --- /dev/null +++ b/games/xmille/files/patch-ag @@ -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 --git a/games/xmille/files/patch-ah b/games/xmille/files/patch-ah new file mode 100644 index 000000000000..5fe504f73e2b --- /dev/null +++ b/games/xmille/files/patch-ah @@ -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; |