File bsd-games-2.17.diff of Package bsd-games

--- hunt/huntd/ctl_transact.c
+++ hunt/huntd/ctl_transact.c
@@ -48,6 +48,10 @@
 #include "hunt.h"
 #include "talk_ctl.h"
 
+#ifndef timerclear
+#define timerclear(tvp)		((tvp)->tv_sec = (tvp)->tv_usec = 0)
+#endif
+
 #define CTL_WAIT 2	/* time to wait for a response, in seconds */
 #define MAX_RETRY 5
 
--- phantasia/Makefrag
+++ phantasia/Makefrag
@@ -44,7 +44,7 @@
 	    cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; \
 	    $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/$$f; done)
 	(set -e; for f in $(phantasia_VFILES2); do \
-	    if [ ! -e $(PHANTASIA_DIR)/$$f ]; then \
+	    if [ ! -e $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f ]; then \
 		cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; fi; done; \
 	    $(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/scoreboard; \
 	    $(INSTALL_SCORE_FILE) -p $(PHANTASIA_DIR)/characs)