1 --- performous-1.1/game/backgrounds.hh.orig 2016-01-23 11:40:01.000000000 +0100
2 +++ performous-1.1/game/backgrounds.hh 2019-05-08 16:01:24.991915179 +0200
4 //#include "animvalue.hh"
7 +#include <boost/noncopyable.hpp>
8 #include <boost/shared_ptr.hpp>
9 #include <boost/scoped_ptr.hpp>
10 #include <boost/thread/mutex.hpp>
11 --- performous-1.1/game/audio.cc.orig 2019-05-08 17:34:23.030331012 +0200
12 +++ performous-1.1/game/audio.cc 2019-05-08 17:34:26.247165898 +0200
14 static ptime getTime() { return microsec_clock::universal_time(); }
16 static double getSeconds(time_duration t) { return 1e-6 * t.total_microseconds(); }
17 - static time_duration getDuration(double seconds) { return microseconds(1e6 * seconds); }
18 + static time_duration getDuration(double seconds) { return microseconds(static_cast<long>(1e6 * seconds)); }
20 mutable boost::mutex m_mutex;
21 ptime m_baseTime; ///< A reference time (corresponds to m_basePos)
23 int64_t m_pos; ///< Current sample position
26 - time_duration durationOf(int64_t samples) const { return microseconds(1e6 * samples / srate / 2.0); }
27 + time_duration durationOf(int64_t samples) const { return microseconds(static_cast<long>(1e6 * samples / srate / 2.0)); }
29 bool suppressCenterChannel;
31 --- performous-1.1/game/songs.hh.orig 2016-01-23 11:40:01.000000000 +0100
32 +++ performous-1.1/game/songs.hh 2019-05-08 17:34:44.194771102 +0200
35 #include "animvalue.hh"
37 +#include <boost/noncopyable.hpp>
38 #include <boost/shared_ptr.hpp>
39 #include <boost/scoped_ptr.hpp>
40 #include <boost/thread/mutex.hpp>
41 --- performous-1.1/game/svg.cc.orig 2016-01-23 11:40:01.000000000 +0100
42 +++ performous-1.1/game/svg.cc 2019-05-08 17:49:07.689926184 +0200
44 #include "configuration.hh"
45 #include "../common/image.hh"
47 +#include <boost/shared_ptr.hpp>
48 #include <librsvg/rsvg.h>