Date: Thu, 22 Aug 2013 12:39:09 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325192 - head/games/ivan/files Message-ID: <201308221239.r7MCd92s072233@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Aug 22 12:39:09 2013 New Revision: 325192 URL: http://svnweb.freebsd.org/changeset/ports/325192 Log: - Fix build with clang Added: head/games/ivan/files/patch-FeLib-Source-bitmap.cpp (contents, props changed) Added: head/games/ivan/files/patch-FeLib-Source-bitmap.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ivan/files/patch-FeLib-Source-bitmap.cpp Thu Aug 22 12:39:09 2013 (r325192) @@ -0,0 +1,20 @@ +--- FeLib/Source/bitmap.cpp.orig 2004-10-26 23:35:47.000000000 +0400 ++++ FeLib/Source/bitmap.cpp 2013-05-30 22:23:14.349113259 +0400 +@@ -873,12 +873,12 @@ + static const int PointY[] = { 0, -1, 0, 0, 1 }; + const int Times = Wide ? 5 : 1; + +- for(int c = 0; c < Times; ++c) ++ for(int t = 0; t < Times; ++t) + { +- const int X1 = OrigFromX + PointX[c]; +- const int Y1 = OrigFromY + PointY[c]; +- const int X2 = OrigToX + PointX[c]; +- const int Y2 = OrigToY + PointY[c]; ++ const int X1 = OrigFromX + PointX[t]; ++ const int Y1 = OrigFromY + PointY[t]; ++ const int X2 = OrigToX + PointX[t]; ++ const int Y2 = OrigToY + PointY[t]; + const int DeltaX = abs(X2 - X1); + const int DeltaY = abs(Y2 - Y1); + int x, c;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308221239.r7MCd92s072233>