Index: branches/2014Q1/games/mangband/Makefile =================================================================== --- branches/2014Q1/games/mangband/Makefile (revision 342592) +++ branches/2014Q1/games/mangband/Makefile (revision 342593) @@ -1,72 +1,72 @@ # Created by: driedfruit # $FreeBSD$ PORTNAME= mangband PORTVERSION= 1.1.2 CATEGORIES= games MASTER_SITES= http://www.mangband.org/ http://www.mangband.org/download/ MAINTAINER= flambard@mangband.org COMMENT= Free online multiplayer real-time roguelike game ALL_TARGET= mangclient mangband WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= yes -USES= ncurses -USE_GMAKE= 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 X11_DESC= Display module X11 SDL_DESC= Display module SDL NO_STAGE= yes .include .if ${PORT_OPTIONS:MGCU} CONFIGURE_ARGS+= --with-gcu .else CONFIGURE_ARGS+= --without-gcu .endif .if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/libX11 CONFIGURE_ARGS+= --with-x11 .else CONFIGURE_ARGS+= --without-x11 .endif .if ${PORT_OPTIONS:MSDL} LIB_DEPENDS+= SDL-1.2:${PORTSDIR}/devel/sdl12 CONFIGURE_ARGS+= --with-sdl .else CONFIGURE_ARGS+= --without-sdl .endif do-install: @${INSTALL_PROGRAM} -o root -g games -m 2550 \ ${WRKSRC}/mangband ${PREFIX}/bin @${INSTALL_PROGRAM} ${WRKSRC}/mangclient ${PREFIX}/bin @${CP} ${WRKDIR}/${DISTNAME}/mangband.cfg ${PREFIX}/etc @echo "# FreeBSD Hacks" >> ${PREFIX}/etc/mangband.cfg @echo "EDIT_DIR = \"${DATADIR}/edit\"" >> ${PREFIX}/etc/mangband.cfg @echo "SAVE_DIR = \"${DATADIR}/save\"" >> ${PREFIX}/etc/mangband.cfg @echo "DATA_DIR = \"${DATADIR}/data\"" >> ${PREFIX}/etc/mangband.cfg @${MKDIR} ${EXAMPLESDIR} @echo "[MAngband]" >> ${EXAMPLESDIR}/mangrc @echo "LibDir ${DATADIR}" >> ${EXAMPLESDIR}/mangrc @${MKDIR} ${DATADIR} @cd ${WRKSRC}/../lib && ${PAX} -rw * ${DATADIR} @${CHMOD} 750 ${DATADIR}/* @${CHMOD} 755 ${DATADIR}/user @${CHMOD} 755 ${DATADIR}/xtra @${CHOWN} -R root:games ${DATADIR}/* @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR} .include Index: branches/2014Q1/games/mangband/files/patch-client_main-sdl.c =================================================================== --- branches/2014Q1/games/mangband/files/patch-client_main-sdl.c (nonexistent) +++ branches/2014Q1/games/mangband/files/patch-client_main-sdl.c (revision 342593) @@ -0,0 +1,11 @@ +--- client/main-sdl.c.orig 2014-02-04 19:51:35.412181886 +0100 ++++ client/main-sdl.c 2014-02-04 19:51:50.859119136 +0100 +@@ -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: branches/2014Q1/games/mangband/files/patch-client_main-sdl.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: branches/2014Q1 =================================================================== --- branches/2014Q1 (revision 342592) +++ branches/2014Q1 (revision 342593) Property changes on: branches/2014Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r342588