1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/crossfire/files/patch-am
Andreas Klemm 680b820157 many changes by Dave:
- Fix the password problem so passwords are actually checked.
- Change some default options like SAVE_HOMEDIR, XPM_PIX (you hade
  the port requiring xpm but CF wasn't configured to link it in),
  ForceCCOPTIONS, EXPLORE_MODE, etc.
- Remove the empty ${CFDIR}/lib/shutdown from the Makefile and the
  PLIST.  This file just causes the program to exit without saying
  why until the user manually removes the file.
- Fix "crossfire -o" to call uname correctly.
- Set logfile to be line buffered (instead of block buffered) since they
  hardly ever call fflush(3).
Submitted by:	Dave Chapeskie <dchapes@golden.net>
1997-09-18 14:21:06 +00:00

15 lines
453 B
Plaintext

--- include/structs.h.orig Sun Jan 5 19:59:46 1997
+++ include/structs.h Wed Sep 17 14:29:59 1997
@@ -562,7 +562,11 @@
char write_buf[MAX_BUF];
char **info;
unsigned char infolines,infochars; /* How big the info-array is */
+#if defined(__FreeBSD__)
+ char password[40];
+#else
char password[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */
+#endif
#ifdef SAVE_INTERVAL
time_t last_save_time;
#endif /* SAVE_INTERVAL */