summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1999-08-30 02:19:58 +0000
committerMatthew Hunt <mph@FreeBSD.org>1999-08-30 02:19:58 +0000
commitca30f3ee8bf8f7043a6cd98db559305e6089a742 (patch)
tree589bf10283f203fcdb07986435689cb68cb7aace /games
parentClose a security hole relating to a world-readable DEADJOE file. (diff)
Upgrade to 4.0pl80.
PR: 13461 Submitted by: Mark Huizer <xaa@xaa.iae.nl>
Notes
Notes: svn path=/head/; revision=21105
Diffstat (limited to 'games')
-rw-r--r--games/gnuchess/Makefile4
-rw-r--r--games/gnuchess/distinfo2
-rw-r--r--games/gnuchess/files/patch-aa19
3 files changed, 8 insertions, 17 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index d6346432eb6b..6124f319ad1d 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -6,8 +6,8 @@
# $FreeBSD$
#
-DISTNAME= gnuchess-4.0.pl79
-PKGNAME= gnuchess-4.0.79
+DISTNAME= gnuchess-4.0.pl80
+PKGNAME= gnuchess-4.0.80
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gnuchess
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index e142661d1dd4..b644606f9caa 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1 +1 @@
-MD5 (gnuchess-4.0.pl79.tar.gz) = 54be6bdcc55d36387213389369f78ec0
+MD5 (gnuchess-4.0.pl80.tar.gz) = 833110654ec086b4ace45e037612033e
diff --git a/games/gnuchess/files/patch-aa b/games/gnuchess/files/patch-aa
index 7dc910538816..736554348e09 100644
--- a/games/gnuchess/files/patch-aa
+++ b/games/gnuchess/files/patch-aa
@@ -1,6 +1,6 @@
diff -udr ../../gnuchess-4.0.pl79/src/dspcom.c ./src/dspcom.c
--- ../../gnuchess-4.0.pl79/src/dspcom.c Mon Sep 28 08:41:19 1998
-+++ ./src/dspcom.c Thu Dec 10 23:40:57 1998
++++ ./dspcom.c Thu Dec 10 23:40:57 1998
@@ -1099,14 +1099,14 @@
#ifdef NONDSP
s[0] = sx[0] = '\0';
@@ -19,7 +19,7 @@ diff -udr ../../gnuchess-4.0.pl79/src/dspcom.c ./src/dspcom.c
sscanf (sx, "%s", s);
diff -udr ../../gnuchess-4.0.pl79/src/gnuan.c ./src/gnuan.c
--- ../../gnuchess-4.0.pl79/src/gnuan.c Mon Sep 28 08:41:21 1998
-+++ ./src/gnuan.c Thu Dec 10 23:39:26 1998
++++ ./gnuan.c Thu Dec 10 23:39:26 1998
@@ -1348,12 +1348,12 @@
fpout = stderr;
fprintf (fpout, "Input the file with the algebraic moves of the game.\n");
@@ -63,18 +63,9 @@ diff -udr ../../gnuchess-4.0.pl79/src/gnuan.c ./src/gnuan.c
p = GNUANinbuf1;
q = GNUANinbuf;
while (true)
-@@ -1724,7 +1725,7 @@
- move_percent[black] = ((float) same_moves[black]) * 200 / (float) (GNUANmovecnt + (GNUANmovecnt % 2 ? 1 : 0));
- fprintf (fpout, "\n White's percentage was %5.2f%%. Black's percentage was %5.2f%%.\n", move_percent[white], move_percent[black]);
- time (&end_time);
-- elapsed_time = difftime(end_time - start_time);
-+ elapsed_time = difftime(end_time, start_time);
- fprintf (fpout, "\n Elapsed time was %ld seconds.\n", elapsed_time);
- fclose (fpin);
- fclose (fpout);
diff -udr ../../gnuchess-4.0.pl79/src/nondsp.c ./src/nondsp.c
--- ../../gnuchess-4.0.pl79/src/nondsp.c Mon Sep 28 08:41:22 1998
-+++ ./src/nondsp.c Thu Dec 10 23:39:26 1998
++++ ./nondsp.c Thu Dec 10 23:39:26 1998
@@ -264,10 +264,11 @@
NewGame ();
@@ -100,7 +91,7 @@ diff -udr ../../gnuchess-4.0.pl79/src/nondsp.c ./src/nondsp.c
/* skip whitespace */
diff -udr ../../gnuchess-4.0.pl79/src/search.c ./src/search.c
--- ../../gnuchess-4.0.pl79/src/search.c Mon Sep 28 08:41:23 1998
-+++ ./src/search.c Thu Dec 10 23:39:26 1998
++++ ./search.c Thu Dec 10 23:39:26 1998
@@ -174,7 +174,7 @@
while (true)
{
@@ -112,7 +103,7 @@ diff -udr ../../gnuchess-4.0.pl79/src/search.c ./src/search.c
else if (b[0] == '\0')
diff -udr ../../gnuchess-4.0.pl79/src/uxdsp.c ./src/uxdsp.c
--- ../../gnuchess-4.0.pl79/src/uxdsp.c Mon Sep 28 08:41:25 1998
-+++ ./src/uxdsp.c Thu Dec 10 23:41:35 1998
++++ ./uxdsp.c Thu Dec 10 23:41:35 1998
@@ -773,9 +773,9 @@
refresh ();
#ifdef MSDOS