summaryrefslogtreecommitdiff
path: root/games/iso-pernangband/patches/patch-aa
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-10-17 21:51:15 +0000
committerhubertf <hubertf@pkgsrc.org>2001-10-17 21:51:15 +0000
commit9e94b3b864b7989078021d6e775d16174313ddf2 (patch)
tree9f2fc57d7c0ad208cc6f3d98a85dde1c62f009d7 /games/iso-pernangband/patches/patch-aa
parentd6dfd69fecc267407629d03bcf427fe69f262a89 (diff)
downloadpkgsrc-9e94b3b864b7989078021d6e775d16174313ddf2.tar.gz
Iso-Angband is an isometric (pseudo 3D) view for PernAngband
Submitted by collver@linuxfreemail.com in PR 14273
Diffstat (limited to 'games/iso-pernangband/patches/patch-aa')
-rw-r--r--games/iso-pernangband/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/iso-pernangband/patches/patch-aa b/games/iso-pernangband/patches/patch-aa
new file mode 100644
index 00000000000..159029e2a66
--- /dev/null
+++ b/games/iso-pernangband/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/17 21:51:15 hubertf Exp $
+
+--- Makefile.orig Sun May 20 07:01:06 2001
++++ Makefile
+@@ -132,14 +132,14 @@
+ ## Variation -- Only support "main-x11.c" (not "main-gcu.c")
+ ##
+ # CFLAGS = -Wall -O1 -pipe -g -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
+-CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY"
++CFLAGS = -Wall -O1 -pipe -g -D"USE_SDL" -D"USE_ISOV" -D"USE_TRANSPARENCY" -DDEFAULT_PATH="\"${PREFIX}/share/iso-pernangband\""
+
+ # Hajo:
+ # the -fpermissive is neccesary because angband.h is not Ansi C++
+ # compliant but I don't want to change angband.h
+-CXXFLAGS = -Wall -O1 -fpermissive -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
++CXXFLAGS = -Wall -O1 -pipe -g -I./simugraph -D"USE_ISOV_X11" -D"USE_TRANSPARENCY"
+ # LIBS = -lX11 -lXext -L/usr/X11R6/lib
+-LIBS = -lX11 -lXext -lSDL -lpthread -L/usr/X11R6/lib
++LIBS = -lX11 -lXext -lSDL -lXxf86dga -lXxf86vm -lpthread -L/usr/X11R6/lib
+
+
+ ##