aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ardour
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2007-10-10 01:12:02 +0800
committertrasz <trasz@FreeBSD.org>2007-10-10 01:12:02 +0800
commit84f40f381220c66b67921adde2ef1ca8653681ae (patch)
treee32f9b92a2605b1bac595e0f77a5d7575dfe3a56 /audio/ardour
parent033ea42578d3a71028c468cd7ef21b8baffb4456 (diff)
downloadfreebsd-ports-gnome-84f40f381220c66b67921adde2ef1ca8653681ae.tar.gz
freebsd-ports-gnome-84f40f381220c66b67921adde2ef1ca8653681ae.tar.zst
freebsd-ports-gnome-84f40f381220c66b67921adde2ef1ca8653681ae.zip
- Fix build on RELENG_7/i386.
Diffstat (limited to 'audio/ardour')
-rw-r--r--audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc
new file mode 100644
index 000000000000..2b54c7551c99
--- /dev/null
+++ b/audio/ardour/files/patch-gtk2_ardour-editor_mouse.cc
@@ -0,0 +1,13 @@
+--- gtk2_ardour/editor_mouse.cc.orig 2007-10-04 12:36:29.000000000 +0200
++++ gtk2_ardour/editor_mouse.cc 2007-10-04 12:37:18.000000000 +0200
+@@ -1449,8 +1449,8 @@
+ */
+ if (!drag_info.move_threshold_passed) {
+
+- bool x_threshold_passed = (abs ((nframes64_t) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL);
+- bool y_threshold_passed = (abs ((nframes64_t) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL);
++ bool x_threshold_passed = (abs ((long long) (drag_info.current_pointer_x - drag_info.grab_x)) > 4LL);
++ bool y_threshold_passed = (abs ((long long) (drag_info.current_pointer_y - drag_info.grab_y)) > 4LL);
+
+ drag_info.move_threshold_passed = (x_threshold_passed || y_threshold_passed);
+