billr@saab.tek.com (Bill Randle) (03/01/91)
Submitted-by: Bill Randle <billr@saab.CNA.TEK.COM> Posting-number: Volume 12, Issue 43 Archive-name: mdg/Patch1 Patch-To: mdg: Volume 12, Issue 37-42 Environment: System V, SunOS 4.1, curses [Here is the missing 'default' player file (thanks to Sean Gallaty (choke@wet.UUCP)). To help with the installation procedure, I've also enclosed a diff to the Makefile that adds a "install" rule. With these changes I was able to get it to run with our Sparc 2 SunOS 4.1.1, although we did have to rebuild the kernel, as the generic_small does not include the shared memory support. -br] #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of shell archive." # Contents: patches01 mdg_dir/default # Wrapped by billr@saab on Thu Feb 28 13:10:36 1991 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'patches01' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'patches01'\" else echo shar: Extracting \"'patches01'\" \(971 characters\) sed "s/^X//" >'patches01' <<'END_OF_FILE' X*** Makefile.dist Mon Jan 14 11:15:38 1991 X--- Makefile Thu Feb 28 13:08:51 1991 X*************** X*** 8,13 **** X--- 8,17 ---- X X CFLAGS = -g X X+ BINDIR = /usr/local/games X+ # this must match "GAME_HOME" in files.h X+ LIBDIR = /usr/local/games/lib/mdg X+ X DOBJSA = dmain.o seg.o monsters.o msghandler.o findplayer.o godpower.o X DOBJSB = players.o random.o combat.o effect.o ranged.o speak.o dmsg.o X DOBJSC = spells.o improve.o dident.o magic.o traps.o loadconfig.o X*************** X*** 47,51 **** X--- 51,66 ---- X X ident : $(IOBJS) X cc $(CFLAGS) -o ident $(IOBJS) X+ X+ install: $(PROGS) X+ strip $(PROGS) X+ cp mdg_char mdg_daemon mdg_stop mdg $(BINDIR) X+ ln $(BINDIR)/mdg_stop $(BINDIR)/mdg_save X+ -mkdir $(LIBDIR) X+ -mkdir $(LIBDIR)/bin X+ -mkdir $(LIBDIR)/players X+ cp ident mdg_clock $(LIBDIR)/bin X+ cp mdg_dir/default $(LIBDIR)/players X+ cp mdg_dir/item.start mdg_dir/map.start mdg_dir/monster.start mdg_dir/note.start $(LIBDIR) X X # end of Makefile. END_OF_FILE if test 971 -ne `wc -c <'patches01'`; then echo shar: \"'patches01'\" unpacked with wrong size! fi # end of 'patches01' fi if test -f 'mdg_dir/default' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'mdg_dir/default'\" else echo shar: Extracting \"'mdg_dir/default'\" \(98 characters\) sed "s/^X//" >'mdg_dir/default' <<'END_OF_FILE' XNewbie X500 X0 0 0 0 0 0 0 0 0 0 0 0 0 X0 0 0 0 0 0 0 0 0 0 0 0 0 X30:30 X10:10 X0 X[0/0] X1 X0 X0 Xal = 1 END_OF_FILE if test 98 -ne `wc -c <'mdg_dir/default'`; then echo shar: \"'mdg_dir/default'\" unpacked with wrong size! fi # end of 'mdg_dir/default' fi echo shar: End of shell archive. exit 0