1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/crossfire-client/files/patch-an
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

13 lines
395 B
Plaintext

--- server/daemon.c.orig Sun Jan 5 19:59:27 1997
+++ server/daemon.c Wed Sep 17 14:39:21 1997
@@ -50,6 +50,9 @@
printf("Couldn't create logfile.\n");
exit(0);
}
+#if defined(__FreeBSD__)
+ setlinebuf (logfile);
+#endif
fputs("\n========================\n",logfile);
fputs("Begin New Server Session\n",logfile);
fputs("========================\n\n",logfile);