Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 13:39:55 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412512 - head/audio/milkytracker/files
Message-ID:  <201604041339.u34DdtwM076411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Apr  4 13:39:54 2016
New Revision: 412512
URL: https://svnweb.freebsd.org/changeset/ports/412512

Log:
  Fix build with libc++ 3.8.0
  
  PR:		208489
  Submitted by:	dim

Added:
  head/audio/milkytracker/files/
  head/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp   (contents, props changed)

Added: head/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/milkytracker/files/patch-src__tracker__TrackerStartUp.cpp	Mon Apr  4 13:39:54 2016	(r412512)
@@ -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(); 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604041339.u34DdtwM076411>