aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdissert/files
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-28 21:29:21 +0800
committervs <vs@FreeBSD.org>2005-10-28 21:29:21 +0800
commit67fb3fb685ac9230e755dd6521e4a1ee7c016ae9 (patch)
tree3aadb40e6ddc9bdc24c9478ab5dd5bd1a8a2d1f5 /deskutils/kdissert/files
parent98c6db061a20835636c7d05097e8ecda38f59137 (diff)
downloadfreebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.tar.gz
freebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.tar.zst
freebsd-ports-gnome-67fb3fb685ac9230e755dd6521e4a1ee7c016ae9.zip
Update to 1.0.5
PR: ports/87735 Submitted by: Ports Fury
Diffstat (limited to 'deskutils/kdissert/files')
-rw-r--r--deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp b/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp
new file mode 100644
index 000000000000..bfe86a63250f
--- /dev/null
+++ b/deskutils/kdissert/files/patch-src__kdissert__canvasview__DCanvasView.cpp
@@ -0,0 +1,18 @@
+--- src/kdissert/canvasview/DCanvasView.cpp.orig Sat Oct 15 22:22:33 2005
++++ src/kdissert/canvasview/DCanvasView.cpp Tue Oct 18 20:47:13 2005
+@@ -1466,6 +1466,7 @@
+ if (x2>canvas()->width()-limit) dx += extend+x2-limit;
+ if (y2>canvas()->height()-limit) dy += extend+y2-limit;
+
++#if !(defined(__GNUC__) && (__GNUC__ < 3))
+ // just for security: check for hard system limits
+ if (((double)canvas()->width()+dx) > (double)std::numeric_limits<typeof(canvas()->width())>::max() || ((double)canvas()->height()+dy) > (double)std::numeric_limits<typeof(canvas()->height())>::max()) {
+ static bool told(false); // should never happen, but say it once...
+@@ -1473,6 +1474,7 @@
+ told = true;
+ return;
+ }
++#endif
+
+ // expand if necessary
+ if (dx>0 || dy>0) {