aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack33/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack33/files/patch-ag')
-rw-r--r--games/nethack33/files/patch-ag21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/nethack33/files/patch-ag b/games/nethack33/files/patch-ag
new file mode 100644
index 000000000000..340e20d6467c
--- /dev/null
+++ b/games/nethack33/files/patch-ag
@@ -0,0 +1,21 @@
+--- sys/unix/Makefile.utl.orig Mon Apr 17 22:36:44 2000
++++ sys/unix/Makefile.utl Wed Oct 10 19:48:36 2001
+@@ -89,7 +89,17 @@
+ # flags for debugging:
+ # CFLAGS = -g -I../include
+
+-CFLAGS = -O -I../include
++CFLAGS += -I../include
++ifeq ("$(GRAPHICS)","X11_GRAPHICS")
++CFLAGS += -DX11_GRAPHICS
++endif
++ifeq ("$(GRAPHICS)","QT_GRAPHICS")
++CFLAGS += -DQT_GRAPHICS
++endif
++ifeq ("$(GRAPHICS)","GNOME_GRAPHICS")
++CFLAGS += -DGNOME_GRAPHICS
++endif
++
+ LFLAGS =
+
+ LIBS =