summaryrefslogtreecommitdiff
path: root/games/tvp/files/patch-xprez_xp__deal.c
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2004-02-02 03:55:03 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2004-02-02 03:55:03 +0000
commit91d0a1d4bb2deb302ae3896443819545c694be02 (patch)
treedc108b80df62d13f3b1ab06302f413b7f4972017 /games/tvp/files/patch-xprez_xp__deal.c
parentPort ia64 support from www/mozilla. (diff)
1) Fix multi-line strings to sate gcc33
2) Fix a bug which caused xprez to display garbage as the list of cards that were exchanged at the beginning of a new round of the game.
Notes
Notes: svn path=/head/; revision=99776
Diffstat (limited to 'games/tvp/files/patch-xprez_xp__deal.c')
-rw-r--r--games/tvp/files/patch-xprez_xp__deal.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/tvp/files/patch-xprez_xp__deal.c b/games/tvp/files/patch-xprez_xp__deal.c
new file mode 100644
index 000000000000..6162d81d498c
--- /dev/null
+++ b/games/tvp/files/patch-xprez_xp__deal.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- xprez/xp_deal.c.orig Sun Feb 1 22:32:15 2004
++++ xprez/xp_deal.c Sun Feb 1 22:16:17 2004
+@@ -41,7 +41,7 @@
+ */
+ int
+ xp_deal (ClientData clientdata, Tcl_Interp * interp, int argc, char ** argv) {
+- char ret[200];
++ static char ret[200];
+ int i;
+ hand_t ss;
+