pkgsrc/games/maelstrom-sdl/patches/patch-ae
wiz 5b89a9f6ab Initial import of maelstrom-sdl, the SDL port of Maelstrom,
provided by Ben Wong in pkg/15582.
Maelstrom is a port of the original shareware game for the Macintosh.
It is a fast-action, high resolution (640x480) asteroids-like game,
with detailed graphics and original sounds.

This version uses the SDL (Simple DirectMedia Layer) which provides
faster graphics and better sound than the old X11 version for NetBSD.
SDL also allows the screen resolution to be changed to 640x480 when
Maelstrom is run in full-screen mode.
2002-07-11 13:21:27 +00:00

22 lines
623 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2002/07/11 13:21:28 wiz Exp $
--- load.h.orig Sat Jul 21 22:46:17 2001
+++ load.h
@@ -21,7 +21,7 @@
return(newstr);
}
#endif
-#if defined(unix) || defined(__MACH__) || defined(__BEOS__)
+#if defined(unix) || defined(__MACH__) || defined(__BEOS__) || defined(__NetBSD__)
#include <unistd.h>
#endif
#endif /* WIN32 */
@@ -29,7 +29,7 @@
#include "SDL_FrameBuf.h"
/* Pathing stuff for the different operating systems */
-#if defined(unix) || defined(__MACH__)
+#if defined(unix) || defined(__MACH__) || defined(__NetBSD__)
#define DIR_SEP "/"
#define CUR_DIR "."
#elif defined(WIN32)