summaryrefslogtreecommitdiff
path: root/games/copter-commander/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/copter-commander/patches/patch-ad')
-rw-r--r--games/copter-commander/patches/patch-ad22
1 files changed, 0 insertions, 22 deletions
diff --git a/games/copter-commander/patches/patch-ad b/games/copter-commander/patches/patch-ad
deleted file mode 100644
index 39bac0b5870..00000000000
--- a/games/copter-commander/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2002/03/08 16:45:36 wiz Exp $
-
---- language.c.orig Wed Nov 28 23:44:02 2001
-+++ language.c
-@@ -29,7 +29,7 @@
- #include <dirent.h> /* for readdir */
- #include <assert.h>
- #include <errno.h>
--#include <alloca.h>
-+#include <unistd.h>
-
- #include "coco.h"
-
-@@ -511,7 +511,7 @@
- int
- coco_dice( int number, unsigned char sides )
- {
-- int randomness;
-+ int randomness = 0;
- int bytes_left = 0; /* bytes of randomness in sides */
- int acc = number; /* every die starts with 1, not 0 */
- if (0==sides) return 1; /* nonsense! */