diff options
author | B. Watson <yalhcru@gmail.com> | 2012-12-16 17:42:41 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:20 -0500 |
commit | bacb4b4024a43478bc1fc93003ab77984402e1b8 (patch) | |
tree | 3697e04fb7ce194163a9f156d6b2340033600e0b /games/ztools/patches/zdebugtool-compilefix.diff | |
parent | 072a0aa9aa699dbd02b3f530ff95b66d0922ce0e (diff) |
games/ztools: Added (tools for Infocom and other Z-Code story files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/ztools/patches/zdebugtool-compilefix.diff')
-rw-r--r-- | games/ztools/patches/zdebugtool-compilefix.diff | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games/ztools/patches/zdebugtool-compilefix.diff b/games/ztools/patches/zdebugtool-compilefix.diff new file mode 100644 index 0000000000000..872eff9b666fb --- /dev/null +++ b/games/ztools/patches/zdebugtool-compilefix.diff @@ -0,0 +1,35 @@ +diff -Naur a/Makefile b/Makefile +--- a/Makefile 1992-10-31 21:52:32.000000000 -0500 ++++ b/Makefile 2012-12-01 11:02:49.000000000 -0500 +@@ -1,17 +1,9 @@ +-# Makefile for Infocom Debugging Tool +-# (works with Aztec 5.2a) +- +-CFLAGS = -DAMIGA -ms -so -wlc +- + OBJS = alphabet.o check.o decode.o extern.o header.o macros.o main.o \ + object.o recog.o stuffing.o tree.o vars.o vocab.o + +-all: DebugTool +- +-DebugTool: $(OBJS) +- ln -o DebugTool $(OBJS) -lc ++all: zdebugtool + ++zdebugtool: $(OBJS) ++ $(CC) $(LDFLAGS) -o zdebugtool $(OBJS) + + $(OBJS): frobnitz.h Makefile +- +-# (c) 1992 by Paul David Doherty +diff -Naur a/frobnitz.h b/frobnitz.h +--- a/frobnitz.h 1993-05-06 17:33:42.000000000 -0400 ++++ b/frobnitz.h 2012-12-01 11:03:40.000000000 -0500 +@@ -51,6 +51,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + + + /*****************************************************************/ |