diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2016-04-04 21:39:54 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2016-04-04 21:39:54 +0800 |
commit | 78e20ef472033ed0626d63e8ce04b9e23367e3e3 (patch) | |
tree | 08bb9e8ff1f2be5d94880b552bdff39a7ae6af34 /audio | |
parent | ae842615b0c0773087d8fd98892cd5018516a912 (diff) | |
download | freebsd-ports-gnome-78e20ef472033ed0626d63e8ce04b9e23367e3e3.tar.gz freebsd-ports-gnome-78e20ef472033ed0626d63e8ce04b9e23367e3e3.tar.zst freebsd-ports-gnome-78e20ef472033ed0626d63e8ce04b9e23367e3e3.zip |
Fix build with libc++ 3.8.0
PR: 208489
Submitted by: dim
Diffstat (limited to 'audio')
-rw-r--r-- | audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp b/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp new file mode 100644 index 000000000000..2bc37e7da334 --- /dev/null +++ b/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp @@ -0,0 +1,20 @@ +--- src/tracker/TrackerStartUp.cpp.orig 2013-11-09 01:12:01.000000000 +0100 ++++ src/tracker/TrackerStartUp.cpp 2016-04-03 21:14:18.976681000 +0200 +@@ -126,7 +126,7 @@ void Tracker::showSplash() + screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); + #endif + shade+=deltaT * (1.0f/6.25f); +- deltaT = abs(::PPGetTickCount() - startTime); ++ deltaT = abs((pp_int32)::PPGetTickCount() - startTime); + if (!deltaT) deltaT++; + } + #if defined(__EXCLUDE_BIGLOGO__) || defined(__LOWRES__) +@@ -157,7 +157,7 @@ void Tracker::hideSplash() + screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); + #endif + shade-=deltaT * (1.0f/6.25f); +- deltaT = abs(::PPGetTickCount() - startTime); ++ deltaT = abs((pp_int32)::PPGetTickCount() - startTime); + if (!deltaT) deltaT++; + } + screen->clear(); |