summaryrefslogtreecommitdiff
path: root/games/nethack34-qt/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack34-qt/files')
-rw-r--r--games/nethack34-qt/files/patch-include:config.h36
-rw-r--r--games/nethack34-qt/files/patch-include:unixconf.h20
-rw-r--r--games/nethack34-qt/files/patch-sys:unix:Makefile.doc41
-rw-r--r--games/nethack34-qt/files/patch-sys:unix:Makefile.src62
-rw-r--r--games/nethack34-qt/files/patch-sys:unix:Makefile.top44
5 files changed, 0 insertions, 203 deletions
diff --git a/games/nethack34-qt/files/patch-include:config.h b/games/nethack34-qt/files/patch-include:config.h
deleted file mode 100644
index bfb4a2c47a67..000000000000
--- a/games/nethack34-qt/files/patch-include:config.h
+++ /dev/null
@@ -1,36 +0,0 @@
---- include/config.h.orig Sat Jul 22 10:13:51 2000
-+++ include/config.h Sat Aug 11 10:09:12 2001
-@@ -44,7 +44,7 @@
- */
- #define TTY_GRAPHICS /* good old tty based graphics */
- /* #define X11_GRAPHICS */ /* X11 interface */
--/* #define QT_GRAPHICS */ /* Qt interface */
-+#define QT_GRAPHICS /* Qt interface */
- /* #define GNOME_GRAPHICS */ /* Gnome interface */
-
- /*
-@@ -151,11 +151,11 @@
-
- #ifdef UNIX
- /* path and file name extension for compression program */
--#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
--#define COMPRESS_EXTENSION ".Z" /* compress's extension */
-+/* #define COMPRESS "/usr/bin/compress"*/ /* Lempel-Ziv compression */
-+/* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */
- /* An example of one alternative you might want to use: */
--/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
--/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */
-+#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
-+#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
- #endif
-
- #ifndef COMPRESS
-@@ -186,7 +186,7 @@
- * otherwise it will be the current directory.
- */
- # ifndef HACKDIR
--# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */
-+# define HACKDIR "%%PREFIX%%/lib/nethack" /* nethack directory */
- # endif
-
- /*
diff --git a/games/nethack34-qt/files/patch-include:unixconf.h b/games/nethack34-qt/files/patch-include:unixconf.h
deleted file mode 100644
index d43f9d82b7dd..000000000000
--- a/games/nethack34-qt/files/patch-include:unixconf.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- include/unixconf.h.orig Mon Jul 17 11:03:51 2000
-+++ include/unixconf.h Fri Oct 13 10:06:57 2000
-@@ -47,7 +47,7 @@
- * job control (note that AIX is SYSV otherwise)
- * Also define this for AIX 3.2 */
-
--#define TERMINFO /* uses terminfo rather than termcap */
-+/* #define TERMINFO */ /* uses terminfo rather than termcap */
- /* Should be defined for most SYSV, SVR4 (including
- * Solaris 2+), HPUX, and Linux systems. In
- * particular, it should NOT be defined for the UNIXPC
-@@ -143,7 +143,7 @@
- * A stat system call is done on the mailbox every MAILCKFREQ moves.
- */
-
--#define MAIL /* Deliver mail during the game */
-+/* #define MAIL /* Deliver mail during the game */
-
- /* The Andrew Message System does mail a little differently from normal
- * UNIX. Mail is deposited in the user's own directory in ~/Mailbox
diff --git a/games/nethack34-qt/files/patch-sys:unix:Makefile.doc b/games/nethack34-qt/files/patch-sys:unix:Makefile.doc
deleted file mode 100644
index 2527c7b4128e..000000000000
--- a/games/nethack34-qt/files/patch-sys:unix:Makefile.doc
+++ /dev/null
@@ -1,41 +0,0 @@
---- sys/unix/Makefile.doc.orig Sat Jan 15 05:49:48 2000
-+++ sys/unix/Makefile.doc Sat Aug 11 11:08:33 2001
-@@ -34,15 +34,15 @@
-
-
- GAME = nethack
--MANDIR = /usr/man/man6
-+MANDIR = ${PREFIX}/man/man
- MANEXT = 6
-
- # manual installation for most BSD-style systems
--GAMEMANCREATE = cp nethack.6
--LEVMANCREATE = cp lev_comp.6
--DGNMANCREATE = cp dgn_comp.6
--RCVRMANCREATE = cp recover.6
--DLBMANCREATE = cp dlb.6
-+GAMEMANCREATE = ${BSD_INSTALL_MAN} nethack.6
-+LEVMANCREATE = ${BSD_INSTALL_MAN} lev_comp.6
-+DGNMANCREATE = ${BSD_INSTALL_MAN} dgn_comp.6
-+RCVRMANCREATE = ${BSD_INSTALL_MAN} recover.6
-+DLBMANCREATE = ${BSD_INSTALL_MAN} dlb.6
- # manual installation for most SYSV-style systems
- # GAMEMANCREATE = nroff -man nethack.6 >
- # LEVMANCREATE = nroff -man lev_comp.6 >
-@@ -51,11 +51,11 @@
- # DLBMANCREATE = nroff -man dlb.6 >
-
- manpages:
-- -$(GAMEMANCREATE) $(MANDIR)/$(GAME).$(MANEXT)
-- -$(LEVMANCREATE) $(MANDIR)/lev_comp.$(MANEXT)
-- -$(DGNMANCREATE) $(MANDIR)/dgn_comp.$(MANEXT)
-- -$(RCVRMANCREATE) $(MANDIR)/recover.$(MANEXT)
-- -$(DLBMANCREATE) $(MANDIR)/dlb.$(MANEXT)
-+ -$(GAMEMANCREATE) $(MANDIR)$(MANEXT)/$(GAME).$(MANEXT)
-+ -$(LEVMANCREATE) $(MANDIR)$(MANEXT)/lev_comp.$(MANEXT)
-+ -$(DGNMANCREATE) $(MANDIR)$(MANEXT)/dgn_comp.$(MANEXT)
-+ -$(RCVRMANCREATE) $(MANDIR)$(MANEXT)/recover.$(MANEXT)
-+ -$(DLBMANCREATE) $(MANDIR)$(MANEXT)/dlb.$(MANEXT)
-
- # manual creation for distribution
- DISTRIB = Guidebook.txt nethack.txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt
diff --git a/games/nethack34-qt/files/patch-sys:unix:Makefile.src b/games/nethack34-qt/files/patch-sys:unix:Makefile.src
deleted file mode 100644
index 1a58379ae1ad..000000000000
--- a/games/nethack34-qt/files/patch-sys:unix:Makefile.src
+++ /dev/null
@@ -1,62 +0,0 @@
---- sys/unix/Makefile.src.orig Sat Aug 5 19:52:57 2000
-+++ sys/unix/Makefile.src Sat Aug 11 09:53:08 2001
-@@ -144,14 +144,14 @@
- # flags for debugging:
- # CFLAGS = -g -I../include
-
--CFLAGS = -O -I../include
-+CFLAGS += -I../include
- LFLAGS =
-
- # The Qt and Be window systems are written in C++, while the rest of
- # NetHack is standard C. If using Qt, uncomment the LD line here to get
- # the C++ libraries linked in.
--CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include
--CXX=g++
-+CXXFLAGS += -I. -I../include ${QTCPPFLAGS}
-+#CXX=g++
- #LD=g++
-
- # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
-@@ -203,8 +203,8 @@
-
- #
- #
--WINSRC = $(WINTTYSRC)
--WINOBJ = $(WINTTYOBJ)
-+WINSRC = $(WINTTYSRC) $(WINQTSRC)
-+WINOBJ = $(WINTTYOBJ) $(WINQTOBJ)
-
- # on some systems the termcap library is in -ltermcap or -lcurses
- # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
-@@ -230,7 +230,7 @@
- # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
- #
- # libraries for Qt
--WINQTLIB = -L$(QTDIR)/lib -lqt
-+WINQTLIB = ${QTCFGLIBS} ${LIBQT}
- #
- # libraries for KDE (with Qt)
- WINKDELIB = -lkdecore -lkdeui -lXext
-@@ -244,7 +244,7 @@
- # libraries for BeOS
- WINBELIB = -lbe
-
--WINLIB = $(WINTTYLIB)
-+WINLIB = $(WINTTYLIB) $(WINQTLIB)
-
- # any other strange libraries your system needs (for Sysunix only -- the more
- # specialized targets should already be right)
-@@ -445,10 +445,10 @@
-
- # Qt windowport meta-object-compiler output
- qt_kde0.moc: ../include/qt_kde0.h
-- $(QTDIR)/bin/moc ../include/qt_kde0.h > qt_kde0.moc
-+ ${MOC} ../include/qt_kde0.h > qt_kde0.moc
-
- qt_win.moc: ../include/qt_win.h
-- $(QTDIR)/bin/moc ../include/qt_win.h > qt_win.moc
-+ ${MOC} ../include/qt_win.h > qt_win.moc
-
- $(MAKEDEFS): ../util/makedefs.c $(CONFIG_H) ../include/permonst.h \
- ../include/objclass.h ../include/monsym.h \
diff --git a/games/nethack34-qt/files/patch-sys:unix:Makefile.top b/games/nethack34-qt/files/patch-sys:unix:Makefile.top
deleted file mode 100644
index fb4a9021dd90..000000000000
--- a/games/nethack34-qt/files/patch-sys:unix:Makefile.top
+++ /dev/null
@@ -1,44 +0,0 @@
---- sys/unix/Makefile.top.orig Tue Jul 4 09:42:05 2000
-+++ sys/unix/Makefile.top Sat Aug 11 11:21:15 2001
-@@ -14,18 +14,17 @@
- # MAKE = make
-
- # make NetHack
--PREFIX = /usr
- GAME = nethack
- # GAME = nethack.prg
- GAMEUID = games
--GAMEGRP = bin
-+GAMEGRP = games
-
- # Permissions - some places use setgid instead of setuid, for instance
- # See also the option "SECURE" in include/config.h
--GAMEPERM = 04755
--FILEPERM = 0644
-+GAMEPERM = 02755
-+FILEPERM = 0664
- EXEPERM = 0755
--DIRPERM = 0755
-+DIRPERM = 0775
-
- # GAMEDIR also appears in config.h as "HACKDIR".
- # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR
-@@ -35,14 +34,14 @@
- # therefore there should not be anything in GAMEDIR that you want to keep
- # (if there is, you'll have to do the installation by hand or modify the
- # instructions)
--GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
-+GAMEDIR = $(PREFIX)/lib/$(GAME)
- VARDIR = $(GAMEDIR)
--SHELLDIR = $(PREFIX)/games
-+SHELLDIR = $(PREFIX)/bin
-
- # per discussion in Install.X11 and Install.Qt
--VARDATND =
-+# VARDATND =
- # VARDATND = x11tiles pet_mark.xbm
--# VARDATND = x11tiles pet_mark.xbm rip.xpm
-+VARDATND = x11tiles pet_mark.xbm rip.xpm
- # for Atari/Gem
- # VARDATND = nh16.img title.img GEM_RSC.RSC
- # for BeOS