diff options
Diffstat (limited to 'games/mirrormagic-sdl/patches')
-rw-r--r-- | games/mirrormagic-sdl/patches/patch-aa | 38 | ||||
-rw-r--r-- | games/mirrormagic-sdl/patches/patch-ab | 22 | ||||
-rw-r--r-- | games/mirrormagic-sdl/patches/patch-ac | 12 |
3 files changed, 72 insertions, 0 deletions
diff --git a/games/mirrormagic-sdl/patches/patch-aa b/games/mirrormagic-sdl/patches/patch-aa new file mode 100644 index 00000000000..943e3fa4259 --- /dev/null +++ b/games/mirrormagic-sdl/patches/patch-aa @@ -0,0 +1,38 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $ + +--- Makefile.orig Tue Mar 19 02:59:43 2002 ++++ Makefile Thu Mar 28 11:43:12 2002 +@@ -12,15 +12,17 @@ + + # specify path to X11 on your system + # if undefined, use system defaults (works with Linux/gcc/libc5) +-X11_PATH = /usr/X11 ++X11_PATH = ${X11BASE} + + # specify directory for read-only game data (like graphics, sounds, levels) + # default is '.', so you can play without installing game data somewhere + # RO_GAME_DIR = /usr/games ++RO_GAME_DIR = ${PREFIX}/share/mirrormagic + + # specify directory for writable game data (like highscore files) + # default is '.', so you can play without installing game data somewhere + # RW_GAME_DIR = /var/games ++RW_GAME_DIR = /var/games/mirrormagic + + # uncomment this if your system has no joystick include file + # JOYSTICK = -DNO_JOYSTICK +@@ -42,13 +44,12 @@ + + .EXPORT_ALL_VARIABLES: + +-MAKE = make + + SRC_DIR = src + MAKE_CMD = $(MAKE) -C $(SRC_DIR) + + all: +- @$(MAKE_CMD) TARGET=x11 ++ @$(MAKE_CMD) TARGET=sdl + + x11: + @$(MAKE_CMD) TARGET=x11 diff --git a/games/mirrormagic-sdl/patches/patch-ab b/games/mirrormagic-sdl/patches/patch-ab new file mode 100644 index 00000000000..d51e2fb2824 --- /dev/null +++ b/games/mirrormagic-sdl/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $ + +--- src/Makefile.orig Tue Mar 19 02:58:57 2002 ++++ src/Makefile Thu Mar 28 11:34:15 2002 +@@ -17,7 +17,7 @@ + XINC_PATH = $(X11_PATH)/include + XLIB_PATH = $(X11_PATH)/lib + X11_INCL = -I$(XINC_PATH) +-X11_LIBS = -L$(XLIB_PATH) ++X11_LIBS = -L$(XLIB_PATH) -Wl,-R$(XLIB_PATH) + endif + + AR = ar +@@ -112,7 +112,7 @@ + OPTIONS = -O3 -Wall + endif + +-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG) ++CFLAGS += $(SYS_CFLAGS) $(CONFIG) + LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm + + diff --git a/games/mirrormagic-sdl/patches/patch-ac b/games/mirrormagic-sdl/patches/patch-ac new file mode 100644 index 00000000000..1ab55557152 --- /dev/null +++ b/games/mirrormagic-sdl/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/09/12 00:18:27 wiz Exp $ + +--- src/libgame/sound.h.orig Thu Mar 28 11:44:35 2002 ++++ src/libgame/sound.h Thu Mar 28 11:44:50 2002 +@@ -27,6 +27,7 @@ + #elif defined(PLATFORM_FREEBSD) + #include <machine/soundcard.h> + #elif defined(PLATFORM_NETBSD) ++#include <sys/types.h> + #include <sys/ioctl.h> + #include <sys/audioio.h> + #elif defined(PLATFORM_HPUX) |