aboutsummaryrefslogtreecommitdiff
path: root/games/deal
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/deal
parente9abb9dcebfb56f0661cfd5e4201c39a78bd19af (diff)
downloadports-a4f4df3ae3e0ca6d36ae205c2157f0163818c967.tar.gz
ports-a4f4df3ae3e0ca6d36ae205c2157f0163818c967.zip
Notes
Diffstat (limited to 'games/deal')
-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;