1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/crossfire-server/files/patch-al
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

12 lines
385 B
Plaintext

--- server/init.c.orig Sun Jan 5 19:59:27 1997
+++ server/init.c Wed Sep 17 12:27:59 1997
@@ -450,7 +450,7 @@
printf("New improve weapon:\t<false>\n");
#endif
printf("Max_time:\t%d\n",MAX_TIME);
- execl("/bin/uname", "uname", "-a", NULL);
+ execl("/usr/bin/uname", "uname", "-a", NULL);
LOG(llevError, "Opps, should't have gotten here.");
perror("execl");
exit(-1);