diff options
author | tcberner <tcberner@FreeBSD.org> | 2017-06-02 19:05:03 +0000 |
---|---|---|
committer | tcberner <tcberner@FreeBSD.org> | 2017-06-02 19:05:03 +0000 |
commit | 4841b004110b365e9a115999c084603643a34ebf (patch) | |
tree | 7fdcdfc47b203a5462fe37fa3137648b0a59f0bc | |
parent | a877d8fdd9ff6c09bb4a0bdd246b009b69bc23b4 (diff) | |
download | FreeBSD-ports-4841b004110b365e9a115999c084603643a34ebf.zip FreeBSD-ports-4841b004110b365e9a115999c084603643a34ebf.tar.gz |
Fix ambiguity of qFuzzyCompare on armv6
PR: 217080
Submitted by: Mikaƫl Urankar <mikael.urankar@gmail.com>
-rw-r--r-- | deskutils/kdeplasma-addons/Makefile | 2 | ||||
-rw-r--r-- | deskutils/kdeplasma-addons/files/patch-applets_timer_timer.cpp | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/deskutils/kdeplasma-addons/Makefile b/deskutils/kdeplasma-addons/Makefile index 501c3a5..11ffe92 100644 --- a/deskutils/kdeplasma-addons/Makefile +++ b/deskutils/kdeplasma-addons/Makefile @@ -2,7 +2,7 @@ PORTNAME= kdeplasma-addons PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils kde kde-kde4 MAINTAINER= kde@FreeBSD.org diff --git a/deskutils/kdeplasma-addons/files/patch-applets_timer_timer.cpp b/deskutils/kdeplasma-addons/files/patch-applets_timer_timer.cpp new file mode 100644 index 0000000..6d97969 --- /dev/null +++ b/deskutils/kdeplasma-addons/files/patch-applets_timer_timer.cpp @@ -0,0 +1,13 @@ +Fix ambiguous call on armv6. + +--- applets/timer/timer.cpp.orig 2017-01-12 05:36:14 UTC ++++ applets/timer/timer.cpp +@@ -498,7 +498,7 @@ void Timer::toggleTimerVisible() + m_blinkAnim = animGroup; + } + +- m_blinkAnim->setDirection(qFuzzyCompare(m_hoursDigit[0]->opacity(), 1.0) ? ++ m_blinkAnim->setDirection(qFuzzyCompare(m_hoursDigit[0]->opacity(), qreal(1.0)) ? + QAbstractAnimation::Forward : QAbstractAnimation::Backward); + m_blinkAnim->start(); + } |