diff options
author | ache <ache@FreeBSD.org> | 1999-01-01 11:14:08 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-01-01 11:14:08 +0800 |
commit | 7fc1767545b8264401a9566af5ec5d435f4db2e8 (patch) | |
tree | 26f620ecada0a41454dfd7f2bdc6fcf2d511a704 /games/mangband/files | |
parent | be7b3481b5bae7db5421be5cbc6e4a367a149b13 (diff) | |
download | freebsd-ports-gnome-7fc1767545b8264401a9566af5ec5d435f4db2e8.tar.gz freebsd-ports-gnome-7fc1767545b8264401a9566af5ec5d435f4db2e8.tar.zst freebsd-ports-gnome-7fc1767545b8264401a9566af5ec5d435f4db2e8.zip |
multi-player Angband
Diffstat (limited to 'games/mangband/files')
-rw-r--r-- | games/mangband/files/patch-aa | 38 | ||||
-rw-r--r-- | games/mangband/files/patch-ab | 13 | ||||
-rw-r--r-- | games/mangband/files/patch-ac | 11 | ||||
-rw-r--r-- | games/mangband/files/patch-ad | 52 |
4 files changed, 114 insertions, 0 deletions
diff --git a/games/mangband/files/patch-aa b/games/mangband/files/patch-aa new file mode 100644 index 000000000000..cb9cc4e10bb0 --- /dev/null +++ b/games/mangband/files/patch-aa @@ -0,0 +1,38 @@ +--- config.h.orig Wed Oct 21 09:45:08 1998 ++++ config.h Wed Dec 30 17:23:11 1998 +@@ -75,7 +75,7 @@ + /* + * OPTION: Use the POSIX "termios" methods in "main-gcu.c" + */ +-/* #define USE_TPOSIX */ ++#define USE_TPOSIX + + /* + * OPTION: Use the "termio" methods in "main-gcu.c" +@@ -103,7 +103,7 @@ + * OPTION: Use the "curs_set()" call in "main-gcu.c". + * Hack -- This option will not work on most BSD machines + */ +-#ifdef SYS_V ++#if defined(SYS_V) || defined(__FreeBSD__) + # define USE_CURS_SET + #endif + +@@ -504,7 +504,7 @@ + /* + * OPTION: Have the server respond to commands typed in on its tty. + */ +-#define SERVER_CONSOLE ++/* #define SERVER_CONSOLE */ + + /* + * OPTION: Enable a method to control the server from an external program. +@@ -566,7 +566,7 @@ + /* + * OPTION: Attempt to prevent all "cheating" + */ +-/* #define VERIFY_HONOR */ ++#define VERIFY_HONOR + + + /* diff --git a/games/mangband/files/patch-ab b/games/mangband/files/patch-ab new file mode 100644 index 000000000000..90334c7255a9 --- /dev/null +++ b/games/mangband/files/patch-ab @@ -0,0 +1,13 @@ +--- Makefile.orig Tue Dec 2 09:04:04 1997 ++++ Makefile Fri Jan 1 05:42:43 1999 +@@ -153,8 +153,8 @@ + # including "USE_GETCH" and "USE_CURS_SET". Note that "config.h" will + # attempt to "guess" at many of these flags based on your system. + # +-CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses +-LIBS = -L/usr/X11R6/lib -lX11 -lncurses -ltermcap ++CFLAGS += -Wall -D"USE_X11" -D"USE_GCU" -I${X11BASE}/include -DDEFAULT_PATH=\"${PREFIX}/lib/mangband\" ++LIBS = -L${X11BASE}/lib -lX11 -lncurses -lmytinfo + + + ## diff --git a/games/mangband/files/patch-ac b/games/mangband/files/patch-ac new file mode 100644 index 000000000000..5665f10922f1 --- /dev/null +++ b/games/mangband/files/patch-ac @@ -0,0 +1,11 @@ +--- server/save.c.bak Sat May 9 21:38:56 1998 ++++ server/save.c Wed Dec 30 13:33:13 1998 +@@ -2305,7 +2305,7 @@ + #ifdef VERIFY_SAVEFILE + + /* Lock on savefile */ +- strcpy(temp, savefile); ++ strcpy(temp, p_ptr->savefile); + strcat(temp, ".lok"); + + /* Remove lock file */ diff --git a/games/mangband/files/patch-ad b/games/mangband/files/patch-ad new file mode 100644 index 000000000000..60fa2cb77dcb --- /dev/null +++ b/games/mangband/files/patch-ad @@ -0,0 +1,52 @@ +--- common/net-unix.c.orig Sat Nov 22 10:47:36 1997 ++++ common/net-unix.c Wed Dec 30 18:12:07 1998 +@@ -2461,11 +2461,14 @@ + #ifdef UNIX_SOCKETS + strcpy(name, "localhost"); + #else ++ struct hostent *he; ++#if 0 + struct hostent *he, *xpilot_he, tmp; + int xpilot_len; + char *alias, *dot; + char xpilot_hostname[MAXHOSTNAMELEN]; + static const char xpilot[] = "xpilot"; ++#endif + #ifdef VMS + char vms_inethost[MAXHOSTNAMELEN] = "UCX$INET_HOST"; + char vms_inetdomain[MAXHOSTNAMELEN] = "UCX$INET_DOMAIN"; +@@ -2473,7 +2476,7 @@ + char vms_domain[MAXHOSTNAMELEN]; + int namelen; + #endif +- ++#if 0 + xpilot_len = strlen(xpilot); + + /* Make a wild guess that a "xpilot" hostname or alias is in this domain */ +@@ -2484,7 +2487,7 @@ + xpilot_he = &tmp; + } + } +- ++#endif + gethostname(name, size); + if ((he = gethostbyname(name)) == NULL) { + return; +@@ -2534,7 +2537,7 @@ + return; + } + } +- ++#if 0 + /* + * If a "xpilot" host is found compare if it's this one. + * and if so, make the local name as "xpilot.*" +@@ -2573,6 +2576,7 @@ + } + /* NOT REATCHED */ + } ++#endif + #endif + } /* GetLocalHostName */ + |