From trasz@pin.if.uz.zgora.pl  Fri Dec 15 00:06:56 2006
Return-Path: <trasz@pin.if.uz.zgora.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DE46916A412
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Dec 2006 00:06:56 +0000 (UTC)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 544C043E49
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Dec 2006 23:59:18 +0000 (GMT)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001)
	id E635C39DBA; Fri, 15 Dec 2006 01:04:00 +0100 (CET)
Message-Id: <20061215000400.E635C39DBA@pin.if.uz.zgora.pl>
Date: Fri, 15 Dec 2006 01:04:00 +0100 (CET)
From: trasz <trasz@pin.if.uz.zgora.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] games/deal: fix build with gcc41
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106740
>Category:       ports
>Synopsis:       [PATCH] games/deal: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 15 00:10:05 GMT 2006
>Closed-Date:    Fri Dec 15 07:51:44 GMT 2006
>Last-Modified:  Fri Dec 15 08:00:42 GMT 2006
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41.

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/deal-2.4.log

Added file(s):
- files/patch-deal.c

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- deal-2.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/deal/files/patch-deal.c /home/trasz/deal/files/patch-deal.c
--- /usr/ports/games/deal/files/patch-deal.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/deal/files/patch-deal.c	Fri Dec 15 01:03:17 2006
@@ -0,0 +1,26 @@
+--- deal.c.orig	Fri Sep 27 00:31:22 1996
++++ deal.c	Fri Dec 15 01:00:03 2006
+@@ -35,6 +35,7 @@
+  * rounds to zero.
+  */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <math.h>
+ #include <signal.h>
+ 
+@@ -49,6 +50,7 @@
+ static int verbose = FALSE;
+ 
+ static double log_a_choose_b(int a, int b);
++static double hyper_prob(int, int, int, int);
+ 
+ static void hypercatch(int sig)
+ {
+@@ -80,7 +82,6 @@
+ {
+     extern char	*optarg;	/* set by getopt */
+     extern int	optind;		/* set by getopt */
+-    static double hyper_prob();
+ 
+     int status, special, total, columns, i, j;
+     int base = BASE_DEFAULT;
--- deal-2.4.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 15 00:19:46 UTC 2006 
Responsible-Changed-Why:  
miwi@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106740 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Dec 15 07:51:43 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106740 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106740: commit references a PR
Date: Fri, 15 Dec 2006 07:53:26 +0000 (UTC)

 miwi        2006-12-15 07:51:57 UTC
 
   FreeBSD ports repository
 
   Added files:
     games/deal/files     patch-deal.c 
   Log:
   - Fix gcc 4.X build
   
   PR:             ports/106740
   Submitted by:   trasz
   
   Revision  Changes    Path
   1.1       +26 -0     ports/games/deal/files/patch-deal.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
