summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-03-25 17:09:05 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-03-25 17:09:05 +0000
commitdb032688dfff0df0cd92849f13033b28a8b1b1f2 (patch)
tree798b5fbd8a866689a9e7a6acdefbbe97f5e7555e /multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp
parent- update to 2.0 (diff)
Update multimedia/mythtv and related ports to 29.1 [1]
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv which should make future updates much easier. Upstream security patches have been added to address known vulnerabilities in the bundled ffmpeg 3.2. PR: 225652 (initial patches to update to 29.0) [1] Submitted by: <lucylangthorne55@gmail.com> [1] Differential Revision: https://reviews.freebsd.org/D14563
Diffstat (limited to 'multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp')
-rw-r--r--multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp b/multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp
deleted file mode 100644
index 48fae3f107b6..000000000000
--- a/multimedia/mythtv/files/patch-libs_libmythui_mythgesture.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
---- libs/libmythui/mythgesture.cpp.orig 2015-06-16 16:03:30 UTC
-+++ libs/libmythui/mythgesture.cpp
-@@ -28,6 +28,7 @@
-
- #include "mythgesture.h"
-
-+#include <cstdlib>
- #include <cmath>
- #include <algorithm>
- #include <complex>
-@@ -284,7 +285,7 @@ bool MythGesture::record(const QPoint & p)
- int dely = p.y() - points.back().y();
-
- /* step by the greatest delta direction */
-- if (abs(delx) > abs(dely))
-+ if (std::abs(delx) > std::abs(dely))
- {
- float iy = points.back().y();
-