Date: Fri, 15 Dec 2006 01:04:00 +0100 (CET) From: trasz <trasz@pin.if.uz.zgora.pl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106740: [PATCH] games/deal: fix build with gcc41 Message-ID: <20061215000400.E635C39DBA@pin.if.uz.zgora.pl> Resent-Message-ID: <200612150010.kBF0A50K046063@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106740 >Category: ports >Synopsis: [PATCH] games/deal: fix build with gcc41 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 15 00:10:05 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061215000400.E635C39DBA>