diff options
Diffstat (limited to 'games/teg/patches/patch-ab')
-rw-r--r-- | games/teg/patches/patch-ab | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/teg/patches/patch-ab b/games/teg/patches/patch-ab new file mode 100644 index 00000000000..0d144975cb0 --- /dev/null +++ b/games/teg/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2009/02/07 23:23:53 joerg Exp $ + +--- common/common.h.orig 2009-02-08 00:05:39.000000000 +0100 ++++ common/common.h +@@ -81,6 +81,7 @@ typedef enum { + } ARMY, *PARMY; + extern char *g_colores[]; + ++#undef RANDOM_MAX + #define RANDOM_MAX(_min,_max) (_min+(int)(((float)(1+_max-_min))*rand() / (RAND_MAX+1.0))) + + #define RANDOM_DEVICE "/dev/random" |