diff options
author | tron <tron> | 1998-07-30 23:11:40 +0000 |
---|---|---|
committer | tron <tron> | 1998-07-30 23:11:40 +0000 |
commit | 335aeed7ec385d7b82dacf1916b314637fb5e647 (patch) | |
tree | 5cb63c15bfb5e65ad90714e0284cd07a60d3f8c1 /games/maelstrom/patches | |
parent | 272b95894c2341666c1ff46422e9ed8292f504d8 (diff) | |
download | pkgsrc-335aeed7ec385d7b82dacf1916b314637fb5e647.tar.gz |
New "maelstrom" package created by Tim Rightnour:
an incredible, fast moving, high graphics version of asteroids.
Diffstat (limited to 'games/maelstrom/patches')
-rw-r--r-- | games/maelstrom/patches/patch-aa | 50 | ||||
-rw-r--r-- | games/maelstrom/patches/patch-ab | 12 | ||||
-rw-r--r-- | games/maelstrom/patches/patch-ac | 8 | ||||
-rw-r--r-- | games/maelstrom/patches/patch-ad | 7 | ||||
-rw-r--r-- | games/maelstrom/patches/patch-ae | 23 |
5 files changed, 100 insertions, 0 deletions
diff --git a/games/maelstrom/patches/patch-aa b/games/maelstrom/patches/patch-aa new file mode 100644 index 00000000000..4c4962aef4a --- /dev/null +++ b/games/maelstrom/patches/patch-aa @@ -0,0 +1,50 @@ +--- Makeflags.orig Mon Jul 14 11:32:13 1997 ++++ Makeflags Thu Jul 30 04:46:45 1998 +@@ -1,8 +1,13 @@ ++# This file contains the template for Makeflags + +-# Some sensible defaults +-BINDIR = /usr/local/bin +-LIBDIR = /usr/local/lib/Maelstrom ++SYSTEM = ++FEATURES = + +-INSTALL = install ++LOGIC = netlogic + ++XPMINCLUDE = -I$(PREFIX)/include ++XPMLINKDIR = -Wl,-R$(PREFIX)/lib -L$(PREFIX)/lib ++ ++BINDIR = $(PREFIX)/bin ++LIBDIR = $(PREFIX)/share/maelstrom + DATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \ +@@ -10,3 +15,28 @@ + +-all: config ++OBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \ ++ dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \ ++ init.o $(LOGIC)/$(LOGIC).o \ ++ controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \ ++ Utils.o shared.o myerror.o ++SOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o ++ ++#CXX = c++ ++OPTIMIZE = ++X11INCLUDE = -I$(X11BASE)/include ++INCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE) ++CFLAGS = $(OPTIMIZE) $(INCLUDES) $(FEATURES) \ ++ -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\" ++EXTRALIBS = ++X11LINKDIR = $(RPATH) -L$(X11BASE)/lib ++X11LIBS = -lX11 -lXext -lXpm ++CSUMLIB = ++LIBS = $(EXTRALIBS) $(XPMLINKDIR) $(X11LINKDIR) $(X11LIBS) $(CSUMLIB) ++SOUNDLIBS = ++ ++INSTALL = /usr/bin/install ++ ++all: $(MAELSTROM) netplayd/netplayd ++ ++netplayd: ++ cd netplayd && make + diff --git a/games/maelstrom/patches/patch-ab b/games/maelstrom/patches/patch-ab new file mode 100644 index 00000000000..468dca2f308 --- /dev/null +++ b/games/maelstrom/patches/patch-ab @@ -0,0 +1,12 @@ +--- bitesex.h.orig Thu Jul 30 03:45:50 1998 ++++ bitesex.h Thu Jul 30 03:46:35 1998 +@@ -27,3 +27,3 @@ + #else +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__NetBSD__) + #include <machine/endian.h> +@@ -39,3 +39,3 @@ + #endif /* SVR4 */ +-#endif /* FreeBSD */ ++#endif /* FreeBSD/NetBSD */ + #endif /* AIX */ diff --git a/games/maelstrom/patches/patch-ac b/games/maelstrom/patches/patch-ac new file mode 100644 index 00000000000..dd4550f14d7 --- /dev/null +++ b/games/maelstrom/patches/patch-ac @@ -0,0 +1,8 @@ +--- mixer.h.orig Thu Jul 30 03:57:30 1998 ++++ mixer.h Thu Jul 30 03:59:31 1998 +@@ -40,2 +40,5 @@ + #endif /* linux */ ++#ifdef __NetBSD__ ++#include <soundcard.h> ++#endif + }; diff --git a/games/maelstrom/patches/patch-ad b/games/maelstrom/patches/patch-ad new file mode 100644 index 00000000000..78afa99121a --- /dev/null +++ b/games/maelstrom/patches/patch-ad @@ -0,0 +1,7 @@ +--- mixer.cpp.orig Thu Jul 30 03:59:50 1998 ++++ mixer.cpp Thu Jul 30 04:02:23 1998 +@@ -287,3 +287,3 @@ + flags = fcntl(dsp_fd, F_GETFL, 0); +- flags |= O_SYNC; ++/* flags |= O_SYNC;*/ + (void) fcntl(dsp_fd, F_SETFL, flags); diff --git a/games/maelstrom/patches/patch-ae b/games/maelstrom/patches/patch-ae new file mode 100644 index 00000000000..46e3aa81f06 --- /dev/null +++ b/games/maelstrom/patches/patch-ae @@ -0,0 +1,23 @@ +--- Makefile.orig Wed Feb 5 14:12:18 1997 ++++ Makefile Fri Jul 31 00:59:32 1998 +@@ -18,7 +18,7 @@ + @echo "Installing binaries in $(BINDIR)..." + @for i in $(MAELSTROM) ; do \ + strip $$i; \ +- $(INSTALL) -m 755 $$i $(BINDIR); \ ++ $(INSTALL) -c -m 755 $$i $(BINDIR); \ + done + @if [ ! -d $(LIBDIR) ]; then \ + mkdir $(LIBDIR); chmod 755 $(LIBDIR); \ +@@ -26,9 +26,10 @@ + @echo "Installing data files in $(LIBDIR) ..." + @tar cf - $(DATAFILES) | (cd $(LIBDIR); tar xvf -) + @chmod -R +r $(LIBDIR) ++ @chown -R ${BINOWN}:${BINGRP} $(LIBDIR) + @if [ ! -f "$(LIBDIR)/Maelstrom-Scores" ]; then \ + echo "Installing Maelstrom high-scores file"; \ +- $(INSTALL) -m 666 Maelstrom-Scores $(LIBDIR); \ ++ $(INSTALL) -c -m 666 Maelstrom-Scores $(LIBDIR); \ + chmod 666 $(LIBDIR)/Maelstrom-Scores; \ + fi + @-if [ "$(SYSTEM)" = "Linux" ]; then \ |