diff options
author | tron <tron@pkgsrc.org> | 1998-07-31 08:03:09 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-07-31 08:03:09 +0000 |
commit | 9d9eaeaf1e8c09d16483e6e6264ad7d95c08beab (patch) | |
tree | 30d733fdb1cfc49770e2cbd3d461d68a59cd02b6 /games/xevil/patches | |
parent | 02f77f7ed03a6e2dd376a1b9ddb79c7267f45444 (diff) | |
download | pkgsrc-9d9eaeaf1e8c09d16483e6e6264ad7d95c08beab.tar.gz |
New "xevil" package created by Tim Rightnour:
violent game of killing, contains profanity.
Diffstat (limited to 'games/xevil/patches')
-rw-r--r-- | games/xevil/patches/patch-aa | 55 | ||||
-rw-r--r-- | games/xevil/patches/patch-ab | 7 | ||||
-rw-r--r-- | games/xevil/patches/patch-ac | 17 |
3 files changed, 79 insertions, 0 deletions
diff --git a/games/xevil/patches/patch-aa b/games/xevil/patches/patch-aa new file mode 100644 index 00000000000..57c8513b4d9 --- /dev/null +++ b/games/xevil/patches/patch-aa @@ -0,0 +1,55 @@ +--- Makefile.orig Tue Oct 1 19:50:59 1996 ++++ Makefile Fri Jul 31 09:49:41 1998 +@@ -8,8 +8,8 @@ + #### Defines that are applicable to makes on all architectures + SHELL = /bin/sh + TARGETS = xevil #xshow +-DEBUG_OPT = -g# #-DPRINT_ERRORS +-LINK_OPT = #-O ++DEBUG_OPT = -O# #-DPRINT_ERRORS ++LINK_OPT = $(RPATH)#-O + + #SRC_DIR and WORK_DIR are only used for `make workdir` + SRC_DIR = /mit/hardts/src/X/xevil1.4.9 +@@ -22,7 +22,7 @@ + OBJS = physical.o actual.o game.o main.o intel.o locator.o world.o \ + ui.o coord.o area.o utils.o + ARCHITECTURES = athena-sun4 athena-sun5 alpha decmips ds decstation \ +- freebsd hp700 iris4d \ ++ freebsd hp700 iris4d netbsd \ + jsc-sun4 i386-linux rsaix sun4 sun5 vision-sun4 + STRIP = strip + +@@ -33,6 +33,8 @@ + + #### Attempt to guesss the host architecture using the HOSTYPE and hostype + # variables. Then call self with the architecture name. ++all: default ++ + default: + @if [ $${HOSTTYPE-bob} != bob ] ; then \ + archit=$$HOSTTYPE ; \ +@@ -50,7 +52,9 @@ + echo "{$(ARCHITECTURES)}" ; \ + fi ; + +- ++install: xevil ++ ${INSTALL_PROGRAM} xevil ${PREFIX}/bin ++ ${INSTALL_MAN} xevil.6 ${PREFIX}/man/man6 + + #### Specific architectures. + ## Feel free to modify one of these to accomodate your machine's configuration. +@@ -100,7 +104,11 @@ + INCL_DIRS=-I/usr/X11R6/include LIBS_DIRS=-L/usr/X11R6/lib \ + LIBS="-lX11 -lm" $(TARGETS) + +- ++netbsd: ++ @$(MAKE) CC="c++" \ ++CFLAGS="-DUSE_RANDOM -DPROTECTED_IS_PUBLIC -DMSEC_PER_CLOCK=8" \ ++INCL_DIRS=-I$(PREFIX)/include LIBS_DIRS=-L$(PREFIX)/lib \ ++LIBS="-lX11 -lm" $(TARGETS) + + hp700: + @$(MAKE) CC="g++" LIBS="-lX11 -lm" INCL_DIRS="" CFLAGS="-DUSE_RANDOM -DRANDOM_NEEDS_PROTOTYPES -DMATH_H_IS_CC -DPROTECTED_IS_PUBLIC" \ diff --git a/games/xevil/patches/patch-ab b/games/xevil/patches/patch-ab new file mode 100644 index 00000000000..e579b988686 --- /dev/null +++ b/games/xevil/patches/patch-ab @@ -0,0 +1,7 @@ +--- actual.C.orig Thu Jul 30 05:18:48 1998 ++++ actual.C Thu Jul 30 05:19:19 1998 +@@ -687,3 +687,3 @@ + { +- PhysicalContext *list[A_CLASSES_NUM]; ++ const PhysicalContext *list[A_CLASSES_NUM]; + int size; diff --git a/games/xevil/patches/patch-ac b/games/xevil/patches/patch-ac new file mode 100644 index 00000000000..162480e4870 --- /dev/null +++ b/games/xevil/patches/patch-ac @@ -0,0 +1,17 @@ +--- game.C.orig Thu Jul 30 05:20:22 1998 ++++ game.C Thu Jul 30 05:21:16 1998 +@@ -388,3 +388,3 @@ + int weaponsNum; +- PhysicalContext *weapons[A_CLASSES_NUM]; ++ const PhysicalContext *weapons[A_CLASSES_NUM]; + weaponsNum = locator->filter_contexts(weapons,NULL, +@@ -392,3 +392,3 @@ + int oItemsNum; +- PhysicalContext *oItems[A_CLASSES_NUM]; ++ const PhysicalContext *oItems[A_CLASSES_NUM]; + oItemsNum = locator->filter_contexts(oItems,NULL, +@@ -1383,3 +1383,3 @@ + // Get list of all classes that are potential Human classes. +- PhysicalContext *list[A_CLASSES_NUM]; ++ const PhysicalContext *list[A_CLASSES_NUM]; + int size = locator.filter_contexts(list,NULL,potential_human_filter); |