diff options
Diffstat (limited to 'games/nethack34-qt/files')
-rw-r--r-- | games/nethack34-qt/files/include-unixconf.h.diff | 11 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-aa | 127 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-ab | 11 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-ac | 13 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-ad | 36 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-ae | 11 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-af | 11 | ||||
-rw-r--r-- | games/nethack34-qt/files/patch-ag | 11 | ||||
-rw-r--r-- | games/nethack34-qt/files/sample.nethackrc | 88 | ||||
-rw-r--r-- | games/nethack34-qt/files/src-Makefile.diff | 26 | ||||
-rw-r--r-- | games/nethack34-qt/files/src-sounds.c.diff | 14 |
11 files changed, 0 insertions, 359 deletions
diff --git a/games/nethack34-qt/files/include-unixconf.h.diff b/games/nethack34-qt/files/include-unixconf.h.diff deleted file mode 100644 index 53150d818111..000000000000 --- a/games/nethack34-qt/files/include-unixconf.h.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- include/unixconf.h.orig Thu Mar 20 23:17:16 1997 -+++ include/unixconf.h Thu Mar 20 23:17:29 1997 -@@ -42,7 +42,7 @@ - /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain - * job control (note that AIX is SYSV otherwise) - * Also define this for AIX 3.2 */ --#define TEXTCOLOR /* Use System V r3.2 terminfo color support */ -+/* #define TEXTCOLOR /* Use System V r3.2 terminfo color support */ - /* and/or ANSI color support on termcap systems */ - /* and/or X11 color */ - #define POSIX_JOB_CONTROL /* use System V / POSIX job control diff --git a/games/nethack34-qt/files/patch-aa b/games/nethack34-qt/files/patch-aa deleted file mode 100644 index 4f8040adbbc0..000000000000 --- a/games/nethack34-qt/files/patch-aa +++ /dev/null @@ -1,127 +0,0 @@ ---- ./include/system.h.org Mon Mar 25 17:18:32 1996 -+++ ./include/system.h Sun Apr 21 18:10:01 1996 -@@ -78,7 +78,7 @@ - # if !defined(SUNOS4) || defined(RANDOM) - E void FDECL(srandom, (unsigned int)); - # else --# ifndef bsdi -+# if !defined(bsdi) && !defined(__FreeBSD__) - E int FDECL(srandom, (unsigned int)); - # endif - # endif ---- ./include/unixconf.h.org Mon Mar 25 12:47:47 1996 -+++ ./include/unixconf.h Sun Apr 21 18:10:02 1996 -@@ -31,7 +31,7 @@ - - /* define any of the following that are appropriate */ - /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ --#define NETWORK /* if running on a networked system */ -+/* #define NETWORK /* if running on a networked system */ - /* e.g. Suns sharing a playground through NFS */ - #define SUNOS4 /* SunOS 4.x */ - /* #define LINUX /* Another Unix clone */ -@@ -42,12 +42,12 @@ - /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain - * job control (note that AIX is SYSV otherwise) - * Also define this for AIX 3.2 */ --/* #define TEXTCOLOR /* Use System V r3.2 terminfo color support */ -+#define TEXTCOLOR /* Use System V r3.2 terminfo color support */ - /* and/or ANSI color support on termcap systems */ - /* and/or X11 color */ --/* #define POSIX_JOB_CONTROL /* use System V / POSIX job control -+#define POSIX_JOB_CONTROL /* use System V / POSIX job control - * (e.g., VSUSP) */ --/* #define POSIX_TYPES /* use POSIX types for system calls and termios */ -+#define POSIX_TYPES /* use POSIX types for system calls and termios */ - /* define for many recent OS releases, including - * those with specific defines (since types are - * changing toward the standard from earlier chaos). -@@ -125,7 +125,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 ---- ./include/config.h.org Thu Feb 29 11:00:26 1996 -+++ ./include/config.h Sun Apr 21 18:10:06 1996 -@@ -248,7 +248,7 @@ - * would allow: - * xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm - */ --/* # define USE_XPM /* Disable if you do not have the XPM library */ -+# define USE_XPM /* Disable if you do not have the XPM library */ - # ifdef USE_XPM - # define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ - # endif -@@ -288,12 +288,12 @@ - - #ifdef UNIX - /* path and file name extension for compression program */ --# define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ --# define COMPRESS_EXTENSION ".Z" /* compress's extension */ -+/* # define COMPRESS "/usr/ucb/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 - # define INTERNAL_COMP /* control use of NetHack's compression routines */ -@@ -323,7 +323,7 @@ - * otherwise it will be the current directory. - */ - # ifndef HACKDIR --# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */ -+# define HACKDIR "/usr/local/lib/nethackdir" /* nethack directory */ - # endif - - /* ---- ./sys/unix/Makefile.doc.org Wed Apr 3 21:17:35 1996 -+++ ./sys/unix/Makefile.doc Sun Apr 21 18:10:03 1996 -@@ -31,7 +31,7 @@ - - - GAME = nethack --MANDIR = /usr/man/man6 -+MANDIR = ${PREFIX}/man/man6 - MANEXT = 6 - - # manual installation for most BSD-style systems ---- ./sys/unix/Makefile.top.org Mon Mar 25 17:22:00 1996 -+++ ./sys/unix/Makefile.top Sun Apr 21 18:28:09 1996 -@@ -16,14 +16,14 @@ - # make NetHack - GAME = nethack - 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". - # -@@ -32,8 +32,8 @@ - # 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 = /usr/games/lib/$(GAME)dir --SHELLDIR = /usr/games -+GAMEDIR = ${PREFIX}/lib/$(GAME)dir -+SHELLDIR = ${PREFIX}/bin - - # per discussion in Install.X11 - VARDATND = diff --git a/games/nethack34-qt/files/patch-ab b/games/nethack34-qt/files/patch-ab deleted file mode 100644 index b609686e6166..000000000000 --- a/games/nethack34-qt/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- ./include/youprop.h.orig Tue Oct 28 22:32:04 1997 -+++ ./include/youprop.h Tue Oct 28 22:33:08 1997 -@@ -79,7 +79,7 @@ - #define Protection u.uprops[PROTECTION].p_flgs - #define Protection_from_shape_changers \ - u.uprops[PROT_FROM_SHAPE_CHANGERS].p_flgs --#define Warning u.uprops[WARNING].p_flgs -+#define HWarning u.uprops[WARNING].p_flgs - - #define HTelepat u.uprops[TELEPAT].p_flgs - #define Telepat (HTelepat || telepathic(uasmon)) diff --git a/games/nethack34-qt/files/patch-ac b/games/nethack34-qt/files/patch-ac deleted file mode 100644 index d5ece267d3a6..000000000000 --- a/games/nethack34-qt/files/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ ---- ./src/artifact.c.orig Tue Oct 28 22:30:56 1997 -+++ ./src/artifact.c Tue Oct 28 22:34:10 1997 -@@ -382,8 +382,8 @@ - else HTeleport_control &= ~wp_mask; - } - if (spfx & SPFX_WARN) { -- if (on) Warning |= wp_mask; -- else Warning &= ~wp_mask; -+ if (on) HWarning |= wp_mask; -+ else HWarning &= ~wp_mask; - } - if (spfx & SPFX_EREGEN) { - if (on) Energy_regeneration |= wp_mask; diff --git a/games/nethack34-qt/files/patch-ad b/games/nethack34-qt/files/patch-ad deleted file mode 100644 index 66ff78506faa..000000000000 --- a/games/nethack34-qt/files/patch-ad +++ /dev/null @@ -1,36 +0,0 @@ ---- ./src/attrib.c.orig Tue Oct 28 22:31:02 1997 -+++ ./src/attrib.c Tue Oct 28 22:34:18 1997 -@@ -44,7 +44,7 @@ - { 0, 0, 0, 0 } }, - - c_abil[] = { { 7, &(Fast), "quick", "slow" }, -- { 15, &(Warning), "sensitive", "" }, -+ { 15, &(HWarning), "sensitive", "" }, - { 0, 0, 0, 0 } }, - - e_abil[] = { { 1, &(Fast), "", "" }, -@@ -54,13 +54,13 @@ - { 0, 0, 0, 0 } }, - - h_abil[] = { { 1, &(HPoison_resistance), "", "" }, -- { 15, &(Warning), "sensitive", "" }, -+ { 15, &(HWarning), "sensitive", "" }, - { 0, 0, 0, 0 } }, - - k_abil[] = { { 7, &(Fast), "quick", "slow" }, - { 0, 0, 0, 0 } }, - -- p_abil[] = { { 15, &(Warning), "sensitive", "" }, -+ p_abil[] = { { 15, &(HWarning), "sensitive", "" }, - { 20, &(HFire_resistance), "cool", "warmer" }, - { 0, 0, 0, 0 } }, - -@@ -81,7 +81,7 @@ - { 7, &(Fast), "quick", "slow" }, - { 0, 0, 0, 0 } }, - -- w_abil[] = { { 15, &(Warning), "sensitive", "" }, -+ w_abil[] = { { 15, &(HWarning), "sensitive", "" }, - { 17, &(HTeleport_control), "controlled","uncontrolled" }, - { 0, 0, 0, 0 } }; - diff --git a/games/nethack34-qt/files/patch-ae b/games/nethack34-qt/files/patch-ae deleted file mode 100644 index a8adb09592b3..000000000000 --- a/games/nethack34-qt/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/cmd.c.orig Tue Oct 28 22:31:09 1997 -+++ ./src/cmd.c Tue Oct 28 22:34:21 1997 -@@ -643,7 +643,7 @@ - if (Lifesaved) - enl_msg("Your life ", "will be", "would have been", " saved"); - if (Adornment) you_are("adorned"); -- if (Warning) you_are("warned"); -+ if (HWarning) you_are("warned"); - if (Protection) you_are("protected"); - if (Reflecting) you_have("reflection"); - if ((HLevitation & (I_SPECIAL|W_ARTI)) != 0L && diff --git a/games/nethack34-qt/files/patch-af b/games/nethack34-qt/files/patch-af deleted file mode 100644 index d188f9810bd1..000000000000 --- a/games/nethack34-qt/files/patch-af +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/mon.c.orig Tue Oct 28 22:31:23 1997 -+++ ./src/mon.c Tue Oct 28 22:34:29 1997 -@@ -212,7 +212,7 @@ - - lastwarntime = moves; - lastwarnlev = warnlevel; -- switch((int) (Warning & (LEFT_RING | RIGHT_RING))) { -+ switch((int) (HWarning & (LEFT_RING | RIGHT_RING))) { - case LEFT_RING: - rr = Hallucination ? "left mood ring glows" : "left ring glows"; - break; diff --git a/games/nethack34-qt/files/patch-ag b/games/nethack34-qt/files/patch-ag deleted file mode 100644 index 779ef4482a5b..000000000000 --- a/games/nethack34-qt/files/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/monmove.c.orig Tue Oct 28 22:31:30 1997 -+++ ./src/monmove.c Tue Oct 28 22:34:36 1997 -@@ -83,7 +83,7 @@ - int rd = dochug(mtmp); - int dd; - -- if(Warning && !rd && !mtmp->mpeaceful && -+ if(HWarning && !rd && !mtmp->mpeaceful && - (dd = distu(mtmp->mx,mtmp->my)) < distu(x,y) && - dd < 100 && !canseemon(mtmp)) { - /* Note: this assumes we only want to warn against the monster to diff --git a/games/nethack34-qt/files/sample.nethackrc b/games/nethack34-qt/files/sample.nethackrc deleted file mode 100644 index 33dbe47118fc..000000000000 --- a/games/nethack34-qt/files/sample.nethackrc +++ /dev/null @@ -1,88 +0,0 @@ -OPTIONS=!silent -OPTIONS=!time -OPTIONS=catname:Ghisteslwchlohm -OPTIONS=color -OPTIONS=dogname:Dhairrhuwyth -OPTIONS=hilite_pet -OPTIONS=lit_corridor -OPTIONS=menustyle:partial -OPTIONS=msghistory:200 -OPTIONS=news -OPTIONS=noautopickup -OPTIONS=rest_on_space -OPTIONS=safe_pet -OPTIONS=showexp -OPTIONS=showscore -OPTIONS=sortpack -OPTIONS=time -OPTIONS=tombstone -OPTIONS=toptenwin -OPTIONS=verbose -SOUNDDIR=/usr/local/lib/nethackdir -SOUND=MESG "needs food, badly" "weak.au" 100 -SOUND=MESG "feel weak" "weak.au" 100 -SOUND=MESG "bear trap closes" "beartrap.au" 100 -SOUND=MESG "board beneath you squeaks" "squeek.au" 100 -SOUND=MESG "board beneath .....* squeaks" "squeek.au" 60 -SOUND=MESG "a distant squeak" "squeek.au" 25 -SOUND=MESG "mind releases itself from" "memories.au" 100 -SOUND=MESG "on itself, you forget" "memories.au" 100 -SOUND=MESG "Who was that Maud person" "memories.au" 100 -SOUND=MESG "Thinking of Maud you forget" "memories.au" 100 -SOUND=MESG "you forget everything" "memories.au" 100 -SOUND=MESG "smell marsh gas" "frogs.au" 100 -SOUND=MESG "must have been exercising" "tada.au" 100 -SOUND=MESG "must have been very obs" "tada.au" 100 -SOUND=MESG "must have been working on" "tada.au" 100 -SOUND=MESG "must be leading a healthy" "tada.au" 100 -SOUND=MESG "Keystone Kops appear!" "kops.au" 100 -SOUND=MESG "Keystone Kops are after you" "kops.au" 100 -SOUND=MESG "interesting topological ex" "mock.au" 100 -SOUND=MESG "Interesting\.\.\." "mock.au" 100 -SOUND=MESG "deathly sick\." "ohdear.au" 80 -SOUND=MESG "feel feverish" "ohdear.au" 80 -SOUND=MESG "brain is eaten" "minderode.au" 80 -SOUND=MESG "thought thou couldst kill" "yendor.au" 120 -SOUND=MESG "begin praying to" "latin_short.au" 70 -SOUND=MESG "sense of peace" "latin.au" 20 -SOUND=MESG "have a.* forbidding feeling" "latin.au" 20 -#SOUND=MESG "door opens\." "dooropen2.au" 100 -#SOUND=MESG "You drop " "drop.au" 10 -#SOUND=MESG "You destroy " "destroy2.au" 30 -#SOUND=MESG "You kill " "destroy2.au" 20 -#SOUND=MESG "is killed" "destroy2.au" 10 -#SOUND=MESG "You miss " "miss2.au" 20 -#SOUND=MESG "fiery blade burns" "hit2.au" 30 -#SOUND=MESG "ice-cold blade freezes" "hit2.au" 30 -#SOUND=MESG "You hit " "hit2.au" 20 -#SOUND=MESG "The spell hits" "hit2.au" 20 -SOUND=MESG "breathes" "breath.au" 100 -SOUND=MESG "a door open\." "dooropen2.au" 100 -SOUND=MESG "Klunk" "clunk.au" 100 -SOUND=MESG "guard on patrol" "coin.au" 50 -SOUND=MESG "quarterback calling" "coin.au" 50 -SOUND=MESG "someone counting" "coin.au" 50 -SOUND=MESG "Ebenezer Scrooge" "coin.au" 50 -SOUND=MESG "someone cursing shoplifters" "gong.au" 50 -SOUND=MESG "chime of a cash register" "gong.au" 50 -SOUND=MESG "Neiman and Marcus" "gong.au" 50 -SOUND=MESG "You die" "death.au" 100 -SOUND=MESG "sad feeling" "death.au" 50 -SOUND=MESG "door closes\." "doorclos.au" 100 -SOUND=MESG "cosmic" "hallu.au" 100 -SOUND=MESG "explosion" "landmine.au" 100 -SOUND=MESG "KABOOM" "landmine.au" 100 -#SOUND=MESG "KAABLAM" "landmine.au" 100 -SOUND=MESG "trigger.* a land *mine" "landmine.au" 100 -SOUND=MESG "elcome to experi" "level_up.au" 100 -SOUND=MESG "memorize" "memor.au" 100 -#SOUND=MESG "Ouch" "ouch2.au" 100 -#SOUND=MESG "XXXfall through\.\.\." "trapdoor.au" 100 -SOUND=MESG "vomit" "vomit.au" 100 -SOUND=MESG "whistling" "whistle2.au" 100 -SOUND=MESG "crashes open" "thump.au" 100 -SOUND=MESG "You break open the lock" "thump.au" 100 -#SOUND=MESG "THUD" "thump.au" 40 -#SOUND=MESG "WHAMM" "thump.au" 50 -SOUND=MESG "welcome to NetHack" "awaits.au" 100 -SOUND=MESG "strange vibration under" "forcefld.au" 100 diff --git a/games/nethack34-qt/files/src-Makefile.diff b/games/nethack34-qt/files/src-Makefile.diff deleted file mode 100644 index 92f754dcd9b2..000000000000 --- a/games/nethack34-qt/files/src-Makefile.diff +++ /dev/null @@ -1,26 +0,0 @@ ---- src/Makefile.orig Sat Apr 5 19:43:25 1997 -+++ src/Makefile Sat Apr 5 19:51:26 1997 -@@ -124,11 +124,11 @@ - # flags for debugging: - # CFLAGS = -g -I../include - --CFLAGS = -O2 -I../include --LFLAGS = -L/usr/X11/lib -L$(QTDIR)/lib -+CFLAGS = -pipe -O -I../include -+LFLAGS = -L/usr/X11R6/lib -L$(QTDIR)/lib - - # For USER_SOUNDS support, include -I/usr/X11/include --CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include -I/usr/X11/include -+CXXFLAGS = $(CFLAGS) -I. -I/usr/X11R6/include -I/usr/X11R6/include/X11/qt - - # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired - # combination of windowing systems. Also set windowing systems in config.h. -@@ -213,7 +213,7 @@ - # IRIX 4.0.x needs -lsun if NIS (YP) is being used for passwd file lookup - # LIBS = -lsun - # --LIBS = -+LIBS = -lgnuregex - - # make NetHack - GAME = nethack diff --git a/games/nethack34-qt/files/src-sounds.c.diff b/games/nethack34-qt/files/src-sounds.c.diff deleted file mode 100644 index de1fdf62b02f..000000000000 --- a/games/nethack34-qt/files/src-sounds.c.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- src/sounds.c.orig Thu Mar 20 22:48:36 1997 -+++ src/sounds.c Thu Mar 20 22:50:00 1997 -@@ -5,7 +5,11 @@ - #include "hack.h" - #include "edog.h" - #ifdef USER_SOUNDS -+#if defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) -+#include <gnuregex.h> -+#else - #include <regex.h> -+#endif - #endif - - #ifdef OVLB |