diff options
Diffstat (limited to 'games/digger/patches/patch-ad')
-rw-r--r-- | games/digger/patches/patch-ad | 15 |
1 files changed, 15 insertions, 0 deletions
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 |