summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches
diff options
context:
space:
mode:
authorpooka <pooka>2000-08-10 17:50:04 +0000
committerpooka <pooka>2000-08-10 17:50:04 +0000
commit6c3fb0c8d133915e500d7878df442414eeb8d9fd (patch)
tree652faece51f36554600906ef464a520802a70371 /games/nethack-qt/patches
parent6d44710d2572556a23b223e5c8ce60813ccfd5e5 (diff)
downloadpkgsrc-6c3fb0c8d133915e500d7878df442414eeb8d9fd.tar.gz
Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades.
This release contains numerous fixes to bugs in 3.3.0 and users are advised to upgrade. Note that old savegames and bones files won't work anymore.
Diffstat (limited to 'games/nethack-qt/patches')
-rw-r--r--games/nethack-qt/patches/patch-aa12
-rw-r--r--games/nethack-qt/patches/patch-ab13
-rw-r--r--games/nethack-qt/patches/patch-ac25
-rw-r--r--games/nethack-qt/patches/patch-ad8
4 files changed, 23 insertions, 35 deletions
diff --git a/games/nethack-qt/patches/patch-aa b/games/nethack-qt/patches/patch-aa
index 6afabb0f073..e039d77df09 100644
--- a/games/nethack-qt/patches/patch-aa
+++ b/games/nethack-qt/patches/patch-aa
@@ -1,16 +1,16 @@
-$NetBSD: patch-aa,v 1.4 1999/12/24 22:30:03 pooka Exp $
+$NetBSD: patch-aa,v 1.5 2000/08/10 17:50:11 pooka Exp $
---- include/config.h.orig Wed Dec 22 22:13:56 1999
-+++ include/config.h Wed Dec 22 22:26:48 1999
+--- include/config.h.orig Sat Jul 22 04:13:51 2000
++++ include/config.h Thu Aug 10 19:55:36 2000
@@ -42,9 +42,9 @@
* Define all of those you want supported in your binary.
* Some combinations make no sense. See the installation document.
*/
-#define TTY_GRAPHICS /* good old tty based graphics */
+/* #define TTY_GRAPHICS /* good old tty based graphics */
- /* #define X11_GRAPHICS */ /* X11 interface */
+ /* #define X11_GRAPHICS */ /* X11 interface */
-/* #define QT_GRAPHICS */ /* Qt interface */
-+#define QT_GRAPHICS /* Qt interface */
++#define QT_GRAPHICS */ /* Qt interface */
+ /* #define GNOME_GRAPHICS */ /* Gnome interface */
/*
- * Define the default window system. This should be one that is compiled
diff --git a/games/nethack-qt/patches/patch-ab b/games/nethack-qt/patches/patch-ab
deleted file mode 100644
index 8ba17543542..00000000000
--- a/games/nethack-qt/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 1999/12/24 22:30:03 pooka Exp $
-
---- sys/unix/Makefile.dat.orig Sat Dec 11 07:21:05 1999
-+++ sys/unix/Makefile.dat Wed Dec 22 22:09:13 1999
-@@ -15,7 +15,7 @@
- (cd ../util ; make lev_comp)
-
- ../util/tile2x11:
-- (cd ../util ; make tile2x11)
-+ (cd ../util ; gmake tile2x11)
-
- x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \
- ../win/share/other.txt
diff --git a/games/nethack-qt/patches/patch-ac b/games/nethack-qt/patches/patch-ac
index ad9fdc80fd4..540493101eb 100644
--- a/games/nethack-qt/patches/patch-ac
+++ b/games/nethack-qt/patches/patch-ac
@@ -1,22 +1,22 @@
-$NetBSD: patch-ac,v 1.5 2000/04/28 10:12:44 drochner Exp $
+$NetBSD: patch-ac,v 1.6 2000/08/10 17:50:13 pooka Exp $
---- sys/unix/Makefile.src.orig Sat Dec 11 06:21:05 1999
-+++ sys/unix/Makefile.src Fri Apr 28 11:50:01 2000
-@@ -132,8 +132,8 @@
+--- sys/unix/Makefile.src.orig Sat Aug 5 13:52:57 2000
++++ sys/unix/Makefile.src Thu Aug 10 20:03:19 2000
+@@ -144,8 +144,8 @@
# flags for debugging:
# CFLAGS = -g -I../include
-CFLAGS = -O -I../include
--LFLAGS =
+-LFLAGS =
+CFLAGS = -O -I../include -I${X11BASE}/include
+LFLAGS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib
- # Only used for Qt interface (other interfaces are standard C)
- CXXFLAGS = -g $(CFLAGS) -I. -I$(QTDIR)/include
-@@ -165,8 +165,8 @@
+ # 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
+@@ -203,8 +203,8 @@
#
- #
+ #
-WINSRC = $(WINTTYSRC)
-WINOBJ = $(WINTTYOBJ)
+WINSRC = $(WINQTSRC)
@@ -24,7 +24,7 @@ $NetBSD: patch-ac,v 1.5 2000/04/28 10:12:44 drochner Exp $
# on some systems the termcap library is in -ltermcap or -lcurses
# on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
-@@ -192,14 +192,14 @@
+@@ -230,7 +230,7 @@
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
#
# libraries for Qt
@@ -33,8 +33,9 @@ $NetBSD: patch-ac,v 1.5 2000/04/28 10:12:44 drochner Exp $
#
# libraries for KDE (with Qt)
WINKDELIB = -lkdecore -lkdeui -lXext
- #
- #
+@@ -244,7 +244,7 @@
+ # libraries for BeOS
+ WINBELIB = -lbe
-WINLIB = $(WINTTYLIB)
+WINLIB = $(WINQTLIB)
diff --git a/games/nethack-qt/patches/patch-ad b/games/nethack-qt/patches/patch-ad
index 92cb0b251b6..8bc0ce66e58 100644
--- a/games/nethack-qt/patches/patch-ad
+++ b/games/nethack-qt/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1 2000/04/14 17:31:27 pooka Exp $
+$NetBSD: patch-ad,v 1.2 2000/08/10 17:50:14 pooka Exp $
---- win/Qt/qt_win.cpp.orig Sat Dec 11 07:21:09 1999
-+++ win/Qt/qt_win.cpp Fri Apr 14 17:16:15 2000
-@@ -3410,7 +3410,7 @@
+--- win/Qt/qt_win.cpp.orig Sat Jul 22 03:59:19 2000
++++ win/Qt/qt_win.cpp Thu Aug 10 19:59:49 2000
+@@ -3448,7 +3448,7 @@
NetHackQtGlyphs::NetHackQtGlyphs()
{