diff options
Diffstat (limited to 'games/jetpack/patches/patch-ae')
-rw-r--r-- | games/jetpack/patches/patch-ae | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/jetpack/patches/patch-ae b/games/jetpack/patches/patch-ae new file mode 100644 index 00000000000..6f8425f6485 --- /dev/null +++ b/games/jetpack/patches/patch-ae @@ -0,0 +1,27 @@ +$NetBSD: patch-ae,v 1.1 1998/08/23 11:24:53 garbled Exp $ +*** main.c.orig Mon Apr 6 12:59:32 1992 +--- main.c Thu Sep 22 13:07:12 1994 +*************** +*** 1,5 **** +--- 1,9 ---- + /* main.c : main loop of jetpack + */ ++ #include <sys/types.h> ++ #include <sys/time.h> ++ #include <sys/resource.h> ++ + + #include "copyright.h" + #include "defs.h" +*************** +*** 18,23 **** +--- 22,30 ---- + int seed; + char lev[20]; + register unsigned long timer; ++ struct rlimit l = {0, 0}; ++ ++ setrlimit(RLIMIT_CORE, &l); + + /* randomize the random number generator by seeding it with the time + in seconds |