freebsd-ports/graphics/panomatic/files/patch-vigra-include-vigra-diff2d.hxx
Steve Wills 2dc83000f6 - Fix build with clang
- Switch to SF mirror
- Add USE_DOS2UNIX

PR:		ports/171859
Approved by:	Iouri Ivliev <ii@any.com.ru> (maintainer)
2012-10-03 15:01:55 +00:00

11 lines
483 B
C++

--- vigra/include/vigra/diff2d.hxx.orig 2008-02-14 23:14:15.000000000 +0000
+++ vigra/include/vigra/diff2d.hxx 2012-09-24 12:02:46.539117586 +0000
@@ -1131,7 +1131,7 @@
bool contains(Rect2D const &r) const
{
return r.isEmpty() ||
- contains(r.upperLeft()) && contains(r.lowerRight()-Diff2D(1,1));
+ (contains(r.upperLeft()) && contains(r.lowerRight()-Diff2D(1,1)));
}
/** Return whether this rectangle overlaps with the given