Index: head/games/mangband/Makefile =================================================================== --- head/games/mangband/Makefile (revision 416248) +++ head/games/mangband/Makefile (revision 416249) @@ -1,56 +1,54 @@ # Created by: driedfruit # $FreeBSD$ PORTNAME= mangband -PORTVERSION= 1.1.2 -PORTREVISION= 1 +PORTVERSION= 1.1.3 CATEGORIES= games MASTER_SITES= http://mangband.org/download/ MAINTAINER= flambard@mangband.org COMMENT= Free online multiplayer real-time roguelike game LICENSE= GPLv2 -BROKEN= unfetchable ALL_TARGET= mangclient mangband WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= yes USES= dos2unix gmake ncurses DOS2UNIXFILES= ${WRKSRC}/client/main-sdl.c MAKE_ARGS= "DATADIR=${DATADIR}" OPTIONS_DEFINE= GCU X11 SDL OPTIONS_DEFAULT= GCU X11 SDL GCU_DESC= Display module GCU (curses) X11_DESC= Display module X11 SDL_DESC= Display module SDL GCU_CONFIGURE_WITH= gcu X11_LIB_DEPENDS= libX11.so:x11/libX11 X11_CONFIGURE_WITH= x11 SDL_LIB_DEPENDS= libX11.so:x11/libX11 SDL_CONFIGURE_WITH= sdl PORTEXAMPLES= * SUB_FILES= pkg-message do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mangband ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/mangclient ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/mangband.cfg ${STAGEDIR}${PREFIX}/etc/mangband.cfg.sample @echo "# FreeBSD Hacks" >> ${STAGEDIR}${PREFIX}/etc/mangband.cfg.sample @echo "EDIT_DIR = \"${DATADIR}/edit\"" >> ${STAGEDIR}${PREFIX}/etc/mangband.cfg.sample @echo "SAVE_DIR = \"${DATADIR}/save\"" >> ${STAGEDIR}${PREFIX}/etc/mangband.cfg.sample @echo "DATA_DIR = \"${DATADIR}/data\"" >> ${STAGEDIR}${PREFIX}/etc/mangband.cfg.sample @(cd ${WRKDIR}/${DISTNAME}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @echo "[MAngband]" >> ${STAGEDIR}${EXAMPLESDIR}/mangrc @echo "LibDir ${DATADIR}/" >> ${STAGEDIR}${EXAMPLESDIR}/mangrc .include Index: head/games/mangband/distinfo =================================================================== --- head/games/mangband/distinfo (revision 416248) +++ head/games/mangband/distinfo (revision 416249) @@ -1,2 +1,2 @@ -SHA256 (mangband-1.1.2.tar.gz) = 648d079417edda959302b2d77f169977b5c3a00ad58c2268dd6f9c1f6fbc2b49 -SIZE (mangband-1.1.2.tar.gz) = 1485354 +SHA256 (mangband-1.1.3.tar.gz) = d4917c51fc84a0626db1b09f6cf8b0ebc4522dd8ab34334e56fba8275ede9069 +SIZE (mangband-1.1.3.tar.gz) = 1497078 Index: head/games/mangband/files/patch-client__main-sdl.c =================================================================== --- head/games/mangband/files/patch-client__main-sdl.c (revision 416248) +++ head/games/mangband/files/patch-client__main-sdl.c (nonexistent) @@ -1,11 +0,0 @@ ---- ./client/main-sdl.c.orig 2014-08-05 15:15:31.836673216 +0200 -+++ ./client/main-sdl.c 2014-08-05 15:15:31.996665462 +0200 -@@ -1031,7 +1031,7 @@ - //if (td->cx != -1 && td->cy != -1) { - // RedrawChar(td->cx, td->cy); - // } -- if (td->cx == x && td->cy == y) return; -+ if (td->cx == x && td->cy == y) return (0); - //if (x == -1 && y == -1) return; - if (td->cursor_on) - { Property changes on: head/games/mangband/files/patch-client__main-sdl.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/mangband/files/patch-server__save.c =================================================================== --- head/games/mangband/files/patch-server__save.c (revision 416248) +++ head/games/mangband/files/patch-server__save.c (nonexistent) @@ -1,11 +0,0 @@ ---- ./server/save.c.orig 2014-08-05 15:15:31.916658572 +0200 -+++ ./server/save.c 2014-08-05 15:15:32.016684533 +0200 -@@ -941,7 +941,7 @@ - #ifdef VERIFY_SAVEFILE - - /* Lock on savefile */ -- strcpy(temp, savefile); -+ strcpy(temp, p_ptr->savefile); - strcat(temp, ".lok"); - - /* Remove lock file */ Property changes on: head/games/mangband/files/patch-server__save.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/mangband/files/patch-server__netserver.c =================================================================== --- head/games/mangband/files/patch-server__netserver.c (revision 416248) +++ head/games/mangband/files/patch-server__netserver.c (nonexistent) @@ -1,11 +0,0 @@ ---- ./server/netserver.c.orig 2014-08-05 15:15:31.916658572 +0200 -+++ ./server/netserver.c 2014-08-05 15:15:32.006682679 +0200 -@@ -97,7 +97,7 @@ - (*drain_receive[256])(int ind); - int login_in_progress; - static int num_logins, num_logouts; --static long Id; -+long Id; - int NumPlayers; - - int MetaSocket = -1; Property changes on: head/games/mangband/files/patch-server__netserver.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/mangband/files/patch-config.h =================================================================== --- head/games/mangband/files/patch-config.h (revision 416248) +++ head/games/mangband/files/patch-config.h (revision 416249) @@ -1,29 +1,29 @@ ---- ./config.h.orig 2014-08-05 15:15:31.000000000 +0200 -+++ ./config.h 2014-08-05 15:17:19.486687132 +0200 +--- config.h.orig 2016-05-31 18:04:39 UTC ++++ config.h @@ -137,7 +137,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" @@ -155,7 +155,7 @@ * OPTION: Use the "curs_set()" call in "main-gcu.c". * Hack -- This option will not work on most BSD machines */ -#if defined(SYS_V) || defined(linux) +#if defined(SYS_V) || defined(linux) || defined(__FreeBSD__) # define USE_CURS_SET #endif @@ -570,7 +570,7 @@ /* * OPTION: Attempt to prevent all "cheating" */ -/* #define VERIFY_HONOR */ +#define VERIFY_HONOR /* Index: head/games/mangband/files/patch-server_netserver.c =================================================================== --- head/games/mangband/files/patch-server_netserver.c (nonexistent) +++ head/games/mangband/files/patch-server_netserver.c (revision 416249) @@ -0,0 +1,11 @@ +--- server/netserver.c.orig 2016-05-31 18:04:59 UTC ++++ server/netserver.c +@@ -97,7 +97,7 @@ static int (*playing_receive[256])(int + (*drain_receive[256])(int ind); + int login_in_progress; + static int num_logins, num_logouts; +-static long Id; ++long Id; + int NumPlayers; + + int MetaSocket = -1; Property changes on: head/games/mangband/files/patch-server_netserver.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/mangband/files/patch-server_save.c =================================================================== --- head/games/mangband/files/patch-server_save.c (nonexistent) +++ head/games/mangband/files/patch-server_save.c (revision 416249) @@ -0,0 +1,11 @@ +--- server/save.c.orig 2016-05-31 18:05:21 UTC ++++ server/save.c +@@ -941,7 +941,7 @@ bool save_player(int Ind) + #ifdef VERIFY_SAVEFILE + + /* Lock on savefile */ +- strcpy(temp, savefile); ++ strcpy(temp, p_ptr->savefile); + strcat(temp, ".lok"); + + /* Remove lock file */ Property changes on: head/games/mangband/files/patch-server_save.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property