summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/digger/distinfo3
-rw-r--r--games/digger/patches/patch-ad15
2 files changed, 17 insertions, 1 deletions
diff --git a/games/digger/distinfo b/games/digger/distinfo
index ab9f0fe6f80..0a17eab06e4 100644
--- a/games/digger/distinfo
+++ b/games/digger/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/10/10 11:32:18 rillig Exp $
+$NetBSD: distinfo,v 1.4 2011/01/08 13:11:13 obache Exp $
SHA1 (digger-20020314.tar.gz) = 4fef6bb91b3c3a4d18a66b94864455299cd19016
RMD160 (digger-20020314.tar.gz) = 85f0adeb867f1aceef154412e0752c51dd7f6809
@@ -6,3 +6,4 @@ Size (digger-20020314.tar.gz) = 98435 bytes
SHA1 (patch-aa) = 07ad1bb5100d389fca04584f511de9feee45edc7
SHA1 (patch-ab) = 524341c6e188731d22675e75fd3a6cafbaa00537
SHA1 (patch-ac) = 0491f8edaa2d1b13fc69c09dd74fe59f3f3618ef
+SHA1 (patch-ad) = ab3ddf3f65d9fcbed15732fef0d62a549334af23
diff --git a/games/digger/patches/patch-ad b/games/digger/patches/patch-ad
new file mode 100644
index 00000000000..7ddee4b922e
--- /dev/null
+++ b/games/digger/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2011/01/08 13:11:13 obache Exp $
+
+* limits.h is more portable for PATH_MAX.
+
+--- def.h.orig 2000-04-13 12:07:32.000000000 +0000
++++ def.h
+@@ -138,7 +138,7 @@ typedef unsigned long int Uint5;
+ #elif defined UNIX && !defined _VGL
+ /* While SDL and other X11 related apps could be runned as ordinary user */
+ #ifdef FREEBSD
+-#include <sys/syslimits.h>
++#include <limits.h>
+ #else /* I donno what is analog of PATH_MAX for Linux :( */
+ #define PATH_MAX 1024
+ #endif