Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 23:49:19 +0200 (MET DST)
From:      xaa@xaa.iae.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13461: Upgrade port games/gnuchess
Message-ID:  <19990829214919.EBCC3BA02@esmeralda.xaa.iae.nl>

next in thread | raw e-mail | index | archive | help

>Number:         13461
>Category:       ports
>Synopsis:       Upgrade poirt to version 4.0pl80
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 29 15:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mark Huizer
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

	

>How-To-Repeat:

	

>Fix:

apply patch
diff -udr orig/gnuchess/Makefile games/gnuchess/Makefile
--- orig/gnuchess/Makefile	Thu Aug 26 22:40:45 1999
+++ games/gnuchess/Makefile	Sun Aug 29 23:29:13 1999
@@ -6,8 +6,8 @@
 # $FreeBSD: ports/orig/gnuchess/Makefile,v 1.7 1999/08/25 06:03:35 obrien Exp $
 #
 
-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 -udr orig/gnuchess/files/md5 games/gnuchess/files/md5
--- orig/gnuchess/files/md5	Tue Dec 29 08:27:57 1998
+++ games/gnuchess/files/md5	Sun Aug 29 23:05:28 1999
@@ -1 +1 @@
-MD5 (gnuchess-4.0.pl79.tar.gz) = 54be6bdcc55d36387213389369f78ec0
+MD5 (gnuchess-4.0.pl80.tar.gz) = 833110654ec086b4ace45e037612033e
diff -udr orig/gnuchess/patches/patch-aa games/gnuchess/patches/patch-aa
--- orig/gnuchess/patches/patch-aa	Tue Dec 29 08:27:59 1998
+++ games/gnuchess/patches/patch-aa	Sun Aug 29 23:29:43 1999
@@ -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 @@
        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 @@
  		    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 @@
    /* 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 @@
  	  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

>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?19990829214919.EBCC3BA02>