summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:57 +0000
commita4f4df3ae3e0ca6d36ae205c2157f0163818c967 (patch)
treed3274d47c6aaadd008bc90d172790bb17862e7c4 /games
parent- Update to 3.6.1 (diff)
- Fix gcc 4.X build
PR: ports/106740 Submitted by: trasz
Notes
Notes: svn path=/head/; revision=179830
Diffstat (limited to 'games')
-rw-r--r--games/deal/files/patch-deal.c26
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;