1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/games/crossfire-client/files/patch-aa
Andreas Klemm ff14487404 added crossfire 0.92.8
crossfire is a multiplayer graphical arcade and adventure game made for
X-Windows. It contains elements of various famous games like nethack and
moria. There are different quests to solve, many maps make the game really
interesting. Nice sound capabilities via rplay. Different players can form
a team over network. Treasure and experience points will be shared equally
among the players of a team.

Could please someone try to fix the password authentication ?!
In server/main.c the function check_passwd doesn't work properly.
I made a workaround returning always ok (1) here and marked it as
UGLY_PASSWORD_HACK...
1996-11-02 13:53:37 +00:00

68 lines
2.0 KiB
Plaintext

--- config/crosssite.def.orig Mon Sep 30 07:54:14 1996
+++ config/crosssite.def Sun Oct 27 15:43:06 1996
@@ -38,7 +38,7 @@
/*
#define XPM_PIX
-#define Xpm_LibDir /usr/local/lib/
+#define Xpm_LibDir /usr/X11R6/lib/
*/
/* If your include files are someplace odd */
/*#define Xpm_Include /usr/local/include*/
@@ -70,13 +70,13 @@
* This is a top root directory of all game staff as in UNIX-style
* overall.
*/
-#define CTop /home/sleipner/a/crossfire/crossfire
+#define CTop /usr/local/crossfire
/* #define CTop /net/contrib/crossfire */
/*#define CTop /usr/local/games/crossfire*/
/* Binaries location If this is undefined, it default to the
standard location for X binaries on your machine. */
-#define CBinDir Concat(CTop,/bin)
+#define CBinDir /usr/local/bin
/* Libraries location If this is undefined it defaults to the
standard location for X lib files/crossfire on your machine */
@@ -95,7 +95,8 @@
/* Crossfire manual location If this is undefined it defaults to the
standard location for manual pages on your machine.*/
/* #define CManPath Concat(CTop,/man) */
-#define CManSuffix 6
+/* #define CManSuffix 6 */
+#define CManPath /usr/local/man
/* Force CC to use the specified options instead of the default
@@ -104,7 +105,7 @@
* any of the default compiler options for your machine.
*/
/*define ForceCCOPTIONS -O -g -Wall */
-#undef ForceCCOPTIONS
+#define ForceCCOPTIONS -pipe -O
/* Extra_Flags are added onto the compilers default options. Can be
* quite useful if you just want to add another flag or two, and not
@@ -165,11 +166,9 @@
* Default: Sound support off.
*/
-/*
#define SoundEffects
#define RPlayLibDir /usr/local/lib
#define RPlayIncDir /usr/local/include
-*/
/* define this if using OpenWindows as your enviroment. This only
* needs to be set if the openwindows server you use is
@@ -207,7 +206,7 @@
* awk on most other systems will be OK.
*/
-AWK = gawk
+AWK = awk
/* Use debugged malloc? I don't know if this exists on all machines/OS's,
* but it does exist on SunOs 4.1.1.