summaryrefslogtreecommitdiff
path: root/games/dustrac/files/patch-src__game__fadeanimation.cpp
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-04-18 09:38:03 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-04-18 09:38:03 +0000
commit6ed528f89a05e069033e9c5e45d39dc1674002d4 (patch)
treedd2725f5a2afe0720084ddf7fa48aa83e8124df4 /games/dustrac/files/patch-src__game__fadeanimation.cpp
parentarchivers/libzip: (diff)
Add new port games/dustrac:
Dust Racing 2D (Dustrac) is a tile-based, cross-platform 2D racing game written in Qt. WWW: http://dustrac.sourceforge.net/
Diffstat (limited to 'games/dustrac/files/patch-src__game__fadeanimation.cpp')
-rw-r--r--games/dustrac/files/patch-src__game__fadeanimation.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/dustrac/files/patch-src__game__fadeanimation.cpp b/games/dustrac/files/patch-src__game__fadeanimation.cpp
new file mode 100644
index 000000000000..d7e62e16cde1
--- /dev/null
+++ b/games/dustrac/files/patch-src__game__fadeanimation.cpp
@@ -0,0 +1,20 @@
+--- ./src/game/fadeanimation.cpp.orig 2014-03-09 12:40:35.000000000 +0000
++++ ./src/game/fadeanimation.cpp 2014-04-05 13:27:41.052483713 +0000
+@@ -81,7 +81,7 @@
+ #ifdef Q_OS_ANDROID
+ emit fadeValueChanged(fmin(m_fadeValue, 1.0));
+ #else
+- emit fadeValueChanged(std::fmin(m_fadeValue, 1.0));
++ emit fadeValueChanged(fmin(m_fadeValue, 1.0));
+ #endif
+ }
+ else if (!m_fadeIn && m_fadeValue > 0.0)
+@@ -90,7 +90,7 @@
+ #ifdef Q_OS_ANDROID
+ emit fadeValueChanged(fmax(m_fadeValue, 0.0));
+ #else
+- emit fadeValueChanged(std::fmax(m_fadeValue, 0.0));
++ emit fadeValueChanged(fmax(m_fadeValue, 0.0));
+ #endif
+ }
+ else if (m_postDelayMSec)