svn commit: r342588 - in head/games/mangband: . files
Pawel Pekala
pawel at FreeBSD.org
Tue Feb 4 18:58:59 UTC 2014
Author: pawel
Date: Tue Feb 4 18:58:58 2014
New Revision: 342588
URL: http://svnweb.freebsd.org/changeset/ports/342588
QAT: https://qat.redports.org/buildarchive/r342588/
Log:
Fix build with clang
PR: ports/182037
Submitted by: maintainer
MFH: 2014Q1
Added:
head/games/mangband/files/patch-client_main-sdl.c (contents, props changed)
Modified:
head/games/mangband/Makefile
Modified: head/games/mangband/Makefile
==============================================================================
--- head/games/mangband/Makefile Tue Feb 4 18:39:42 2014 (r342587)
+++ head/games/mangband/Makefile Tue Feb 4 18:58:58 2014 (r342588)
@@ -12,8 +12,8 @@ COMMENT= Free online multiplayer real-ti
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}"
Added: head/games/mangband/files/patch-client_main-sdl.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/mangband/files/patch-client_main-sdl.c Tue Feb 4 18:58:58 2014 (r342588)
@@ -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)
+ {
More information about the svn-ports-all
mailing list