diff options
Diffstat (limited to 'games/unnethack/files')
-rw-r--r-- | games/unnethack/files/patch-config.h | 37 | ||||
-rw-r--r-- | games/unnethack/files/patch-makefile.doc | 33 | ||||
-rw-r--r-- | games/unnethack/files/patch-makefile.src | 22 | ||||
-rw-r--r-- | games/unnethack/files/patch-makefile.top | 53 | ||||
-rw-r--r-- | games/unnethack/files/patch-makefile.utl | 13 | ||||
-rw-r--r-- | games/unnethack/files/patch-system.h | 11 | ||||
-rw-r--r-- | games/unnethack/files/patch-tshirt | 42 | ||||
-rw-r--r-- | games/unnethack/files/patch-unixconf.h | 11 | ||||
-rw-r--r-- | games/unnethack/files/sample.slashemrc | 47 |
9 files changed, 0 insertions, 269 deletions
diff --git a/games/unnethack/files/patch-config.h b/games/unnethack/files/patch-config.h deleted file mode 100644 index a14697939199..000000000000 --- a/games/unnethack/files/patch-config.h +++ /dev/null @@ -1,37 +0,0 @@ ---- include/config.h.good Wed Nov 22 23:18:52 2000 -+++ include/config.h Wed Nov 22 23:29:22 2000 -@@ -176,12 +176,12 @@ - - #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 */ - - /* # define COMPRESS "/usr/bin/bzip2" *//* bzip2 compression */ - /* # define COMPRESS_EXTENSION ".bz2" *//* bzip2 extension */ -@@ -195,7 +195,7 @@ - * a tar-like file, thus making a neater installation. See *conf.h - * for detailed configuration. - */ --/* #define DLB */ /* not supported on all platforms */ -+#define DLB /* not supported on all platforms */ - - /* - * Defining INSURANCE slows down level changes, but allows games that -@@ -214,7 +214,7 @@ - * otherwise it will be the current directory. - */ - # ifndef HACKDIR --# define HACKDIR "." /* nethack directory */ -+# define HACKDIR "/usr/local/share/slashem-tty" /* nethack directory */ - # endif - - /* diff --git a/games/unnethack/files/patch-makefile.doc b/games/unnethack/files/patch-makefile.doc deleted file mode 100644 index 654b31c284b8..000000000000 --- a/games/unnethack/files/patch-makefile.doc +++ /dev/null @@ -1,33 +0,0 @@ ---- sys/unix/Makefile.doc.good Thu Nov 23 01:01:16 2000 -+++ sys/unix/Makefile.doc Thu Nov 23 01:04:09 2000 -@@ -52,10 +52,10 @@ - # Guidebook.dvi: Guidebook.mn - # tbl tmac.n Guidebook.mn | groff -Wall -Tdvi > Guidebook.dvi - --GAME = slashem -+GAME = slashem-tty - #GAME = nethack --MANDIR = /games/slash/doc --MANEXT = 1n -+MANDIR = ${PREFIX}/man/man -+MANEXT = 6 - - # manual installation for most BSD-style systems - GAMEMANCREATE = cp $(GAME).6 -@@ -72,11 +72,11 @@ - # DLBMANCREATE = groff -Wall -mtty-char -Tascii -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 $(GAME).txt lev_comp.txt dgn_comp.txt recover.txt dlb.txt diff --git a/games/unnethack/files/patch-makefile.src b/games/unnethack/files/patch-makefile.src deleted file mode 100644 index b9045b58a06f..000000000000 --- a/games/unnethack/files/patch-makefile.src +++ /dev/null @@ -1,22 +0,0 @@ ---- sys/unix/Makefile.src.good Thu Nov 23 00:24:58 2000 -+++ sys/unix/Makefile.src Thu Nov 23 00:26:13 2000 -@@ -144,8 +144,8 @@ - # flags for debugging: - # CFLAGS = -g -I../include - --CFLAGS = -O -I../include --LFLAGS = -+CFLAGS += -O -I../include -I${PREFIX}/include -+LFLAGS = -L${PREFIX}/lib - - # QT windowing system - # SuSE 6.1 -@@ -322,7 +322,7 @@ - LIBS = - - # make NetHack --GAME = slashem -+GAME = slashem-tty - # GAME = slashem.prg - - # if you defined RANDOM in unixconf.h/tosconf.h since your system did not come diff --git a/games/unnethack/files/patch-makefile.top b/games/unnethack/files/patch-makefile.top deleted file mode 100644 index cc166876940f..000000000000 --- a/games/unnethack/files/patch-makefile.top +++ /dev/null @@ -1,53 +0,0 @@ ---- sys/unix/Makefile.top.good Wed Nov 22 23:48:33 2000 -+++ sys/unix/Makefile.top Wed Nov 22 23:54:33 2000 -@@ -14,18 +14,17 @@ - # MAKE = make - - # make NetHack --PREFIX = /usr --GAME = slashem -+GAME = slashem-tty - # GAME = slashem.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 -@@ -38,7 +37,7 @@ - # These must agree with the definitions in unixconf.h - - # Defs. for non file areas support. --GAMEDIR = $(PREFIX)/local/slashemdir -+GAMEDIR = $(PREFIX)/share/${GAME} - VARDIR = $(GAMEDIR) - FILE_AREA_VAR = $(VARDIR) - FILE_AREA_SAVE = $(VARDIR)/save -@@ -47,7 +46,7 @@ - FILE_AREA_DOC = $(GAMEDIR) - FILE_AREA_BONES = $(FILE_AREA_VAR) - FILE_AREA_LEVL = $(FILE_AREA_VAR) --SHELLDIR = $(PREFIX)/local/bin -+SHELLDIR = $(PREFIX)/bin - - # Defs. compatible with Linux's FSSTND 1.2 - # FILE_AREA_VAR = /var/lib/games/slashem -@@ -239,7 +238,7 @@ - -e '$$s/.*/nodlb/p' < dat/options` ; \ - $(MAKE) dofiles-$${target-nodlb} - cp src/$(GAME) $(FILE_AREA_UNSHARE) -- cp license doc/Guidebook.txt $(FILE_AREA_DOC) -+ cp license $(FILE_AREA_DOC) - # cp win/Qt/KDE/kslashem.kdelnk $(KDEDIR)/share/applnk/Games - -rm -f $(SHELLDIR)/$(GAME) - sed -e 's;/usr/games/lib/nethackdir;$(FILE_AREA_UNSHARE);' \ diff --git a/games/unnethack/files/patch-makefile.utl b/games/unnethack/files/patch-makefile.utl deleted file mode 100644 index 70a7cb39f66f..000000000000 --- a/games/unnethack/files/patch-makefile.utl +++ /dev/null @@ -1,13 +0,0 @@ ---- sys/unix/Makefile.utl.good Thu Nov 23 13:55:38 2000 -+++ sys/unix/Makefile.utl Thu Nov 23 13:56:54 2000 -@@ -89,8 +89,8 @@ - # flags for debugging: - # CFLAGS = -g -I../include - --CFLAGS = -O -I../include --LFLAGS = -+CFLAGS += -O -I../include -I${PREFIX}/include -+LFLAGS = -L${PREFIX}/lib - - LIBS = - diff --git a/games/unnethack/files/patch-system.h b/games/unnethack/files/patch-system.h deleted file mode 100644 index d68b538e8c2d..000000000000 --- a/games/unnethack/files/patch-system.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/system.h.good Wed Nov 22 23:38:44 2000 -+++ include/system.h Wed Nov 22 23:41:03 2000 -@@ -522,7 +522,7 @@ - E time_t FDECL(time, (time_t *)); - # endif - # else --E long FDECL(time, (time_t *)); -+E time_t FDECL(time, (time_t *)); - # endif /* ULTRIX */ - - #ifdef VMS diff --git a/games/unnethack/files/patch-tshirt b/games/unnethack/files/patch-tshirt deleted file mode 100644 index b90d1c550016..000000000000 --- a/games/unnethack/files/patch-tshirt +++ /dev/null @@ -1,42 +0,0 @@ ---- src/read.c.orig Sat Jul 22 18:04:06 2000 -+++ src/read.c Thu Jan 25 18:46:03 2001 -@@ -62,6 +62,24 @@ - return(1); - #ifdef TOURIST - } else if (scroll->otyp == T_SHIRT) { -+ static const char *shirt_msgs[] = { -+ "I explored the Dungeons of Doom and all I got was this lousy T-shirt!", -+ "Is that Mjollnir in your pocket or are you just happy to see me?", -+ "It's not the size of your sword, it's how #enhance'd you are with it.", -+ "Madame Elvira's House O' Succubi Lifetime Customer", -+ "Madame Elvira's House O' Succubi Employee of the Month", -+ "Ludios Vault Guards Do It In Small, Dark Rooms", -+ "Yendor Military Soldiers Do It In Large Groups", -+ "I survived Yendor Military Boot Camp", -+ "Ludios Accounting School Intra-Mural Lacrosse Team", -+ "Oracle(TM) Fountains 10th Annual Wet T-Shirt Contest", -+ "Hey, black dragon! Disintegrate THIS!", -+ "I'm With Stupid -->", -+ "Don't blame me, I voted for Izchak!", -+ "Don't Panic", // HHGTTG -+ "Furinkan High School Athletic Dept.", // Ranma 1/2 -+ "Hel-LOOO, Nurse!", // Animaniacs" -+ }; - char buf[BUFSZ]; - int erosion; - -@@ -72,13 +90,7 @@ - u.uconduct.literate++; - if(flags.verbose) - pline("It reads:"); -- Sprintf(buf, "I explored the Dungeons of Doom, %s.", -- Hallucination ? -- (scroll == uarmu ? -- /* (force these two to have identical length) */ -- "and never did any laundry..." : -- "and couldn't find my way out") : -- "but all I got was this lousy T-shirt"); -+ strcpy(buf, shirt_msgs[scroll->o_id % SIZE(shirt_msgs)]); - erosion = greatest_erosion(scroll); - if (erosion) - wipeout_text(buf, diff --git a/games/unnethack/files/patch-unixconf.h b/games/unnethack/files/patch-unixconf.h deleted file mode 100644 index 9a2902055729..000000000000 --- a/games/unnethack/files/patch-unixconf.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/unixconf.h.good Wed Nov 22 23:42:39 2000 -+++ include/unixconf.h Wed Nov 22 23:43:42 2000 -@@ -206,7 +206,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/unnethack/files/sample.slashemrc b/games/unnethack/files/sample.slashemrc deleted file mode 100644 index 7bad046d0e30..000000000000 --- a/games/unnethack/files/sample.slashemrc +++ /dev/null @@ -1,47 +0,0 @@ -# Sample .slashemrc file -# - -# Window systems -# Options are tty, x11. qt, gtk -# but not all of these are necessarily compiled in -OPTIONS=windowtype:tty - -# names for pets -OPTIONS=catname:Fuzzy -OPTIONS=dogname:Rover -OPTIONS=horsename:Trigger - -# Autopickup options -# Autopickup all the things you would pick up anyway -# In order: money, potions, spellbooks, rings, amulets, -# scrolls, and wands -OPTIONS=autopickup -OPTIONS=pickup_types:$!+="?/ - -# Favorite fruit -OPTIONS=fruit:Strawberry - -# Turn on numberpad movement -# Be sure to turn on numlock or this won't work -OPTIONS=number_pad - -# Show experience on the status line -OPTIONS=showexp - -# Fix inventory letters -# If you aquire an item, drop it, then pick it up again -# it will retain the same inventory letter -# Sort your pack contents by type when viewing your inventory -OPTIONS=fixinv -OPTIONS=sortpack - -# Makes pets more visible -# Don't allow attacking your pet -OPTIONS=hilite_pet -OPTIONS=safe_pet - -# verbose messages in the game -OPTIONS=verbose - -# Ask for confirmation before attacking peaceful creatures -OPTIONS=confirm |