diff options
author | miwi <miwi@FreeBSD.org> | 2006-12-15 15:51:57 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-12-15 15:51:57 +0800 |
commit | e3115514fa0f7a36449f1dffc9b178e3befabedf (patch) | |
tree | edb2f2dd230fa9d6e978ee6010944b88f1deb594 | |
parent | 009ecbad2a74d14840e1c81ad603ad65c0e9de9d (diff) | |
download | freebsd-ports-gnome-e3115514fa0f7a36449f1dffc9b178e3befabedf.tar.gz freebsd-ports-gnome-e3115514fa0f7a36449f1dffc9b178e3befabedf.tar.zst freebsd-ports-gnome-e3115514fa0f7a36449f1dffc9b178e3befabedf.zip |
- Fix gcc 4.X build
PR: ports/106740
Submitted by: trasz
-rw-r--r-- | games/deal/files/patch-deal.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/deal/files/patch-deal.c b/games/deal/files/patch-deal.c new file mode 100644 index 000000000000..1f2d87063354 --- /dev/null +++ b/games/deal/files/patch-deal.c @@ -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; |