svn commit: r342593 - in branches/2014Q1/games/mangband: . files

Pawel Pekala pawel at FreeBSD.org
Tue Feb 4 19:20:47 UTC 2014


Author: pawel
Date: Tue Feb  4 19:20:46 2014
New Revision: 342593
URL: http://svnweb.freebsd.org/changeset/ports/342593
QAT: https://qat.redports.org/buildarchive/r342593/

Log:
  MFH: r342588
  
  Fix build with clang
  
  PR:		ports/182037
  Submitted by:	maintainer
  Approved by:	portmgr (erwin)

Added:
  branches/2014Q1/games/mangband/files/patch-client_main-sdl.c
     - copied unchanged from r342588, head/games/mangband/files/patch-client_main-sdl.c
Modified:
  branches/2014Q1/games/mangband/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/games/mangband/Makefile
==============================================================================
--- branches/2014Q1/games/mangband/Makefile	Tue Feb  4 19:15:43 2014	(r342592)
+++ branches/2014Q1/games/mangband/Makefile	Tue Feb  4 19:20:46 2014	(r342593)
@@ -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}"
 

Copied: branches/2014Q1/games/mangband/files/patch-client_main-sdl.c (from r342588, head/games/mangband/files/patch-client_main-sdl.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2014Q1/games/mangband/files/patch-client_main-sdl.c	Tue Feb  4 19:20:46 2014	(r342593, copy of r342588, head/games/mangband/files/patch-client_main-sdl.c)
@@ -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-branches mailing list