diff options
author | joerg <joerg@pkgsrc.org> | 2013-02-26 11:25:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-02-26 11:25:12 +0000 |
commit | b2340f845187812864872e466eeed11fb8cbca46 (patch) | |
tree | 36749de7bd8dff3106220d8e3f2946aa2e55fefc /games | |
parent | 872f8106cc0582368f35a95d5e879bc41fda9430 (diff) | |
download | pkgsrc-b2340f845187812864872e466eeed11fb8cbca46.tar.gz |
Actually provide a value for BIGGEST.
Diffstat (limited to 'games')
-rw-r--r-- | games/netmaze/distinfo | 3 | ||||
-rw-r--r-- | games/netmaze/patches/patch-better.c | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/games/netmaze/distinfo b/games/netmaze/distinfo index dbbbcdb3831..95479f43b36 100644 --- a/games/netmaze/distinfo +++ b/games/netmaze/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2005/05/01 10:36:07 jdc Exp $ +$NetBSD: distinfo,v 1.7 2013/02/26 11:25:12 joerg Exp $ SHA1 (netmaze0.81.tar.gz) = 61c3e1dc00372b18a622cd330c322817e73a6cf4 RMD160 (netmaze0.81.tar.gz) = fe30487c441d0789a1526e4ec2f4cd2cf57a416a @@ -18,3 +18,4 @@ SHA1 (patch-al) = 17c66e5dda796258b935ebee974df8a092f38c4f SHA1 (patch-am) = af29aa8ed0955cf314fa27117457daf57078ddfb SHA1 (patch-an) = 28a25e4d493f6c24d6fb9499a939f659a51c436c SHA1 (patch-ao) = 37ede535ccda7ffb267ea1927a197590f1088b37 +SHA1 (patch-better.c) = d0b08ff9dcb43d4e5acc806b1cb961505d9f0778 diff --git a/games/netmaze/patches/patch-better.c b/games/netmaze/patches/patch-better.c new file mode 100644 index 00000000000..a2425a9471e --- /dev/null +++ b/games/netmaze/patches/patch-better.c @@ -0,0 +1,19 @@ +$NetBSD: patch-better.c,v 1.1 2013/02/26 11:25:12 joerg Exp $ + +--- better.c.orig 2013-02-25 20:36:11.000000000 +0000 ++++ better.c +@@ -12,11 +12,13 @@ + */ + + #include <math.h> ++#include <limits.h> + #include <stdio.h> ++#include <stdlib.h> + #include "netmaze.h" + #include "better.h" + +-#define BIGGEST /* groesster long-wert */ ++#define BIGGEST LONG_MAX /* groesster long-wert */ + #define NERVOUS 50000000 /* ab hier sucht BB sein Opfer */ + #define TODESRADIUS1 7000000 + #define TODESRADIUS 15000000 |