Commit 0938f05d authored by Georges Khaznadar's avatar Georges Khaznadar

fixed the FTBFS

parent e9ce74ac
......@@ -2,6 +2,9 @@ supercollider (1:3.10.0+repack-1) unstable; urgency=medium
* upgraded to the newest upstream source
* refreshed quilt patches
* added a new patch to fix an error in upstream code
(file server/supernova/utilities/time_tag.hp): the result
of get_nanoseconds() had to be type-casted to long.
-- Georges Khaznadar <georgesk@debian.org> Mon, 24 Dec 2018 16:31:59 +0100
......
fixed a type inconsistency: forced the result of get_nanoseconds() to
double before the division by 1000.
Index: supercollider/server/supernova/utilities/time_tag.hpp
===================================================================
--- supercollider.orig/server/supernova/utilities/time_tag.hpp
+++ supercollider/server/supernova/utilities/time_tag.hpp
@@ -229,7 +229,7 @@ public:
#ifdef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
time_duration offset = seconds(get_secs() - ntp_offset) + nanoseconds(get_nanoseconds());
#else
- time_duration offset = seconds(get_secs() - ntp_offset) + microseconds(get_nanoseconds()/1000);
+ time_duration offset = seconds(get_secs() - ntp_offset) + microseconds((long) get_nanoseconds()/1000);
#endif
return ptime(base, offset);
}
supernova-i686-march-flag.patch
Remove-autodetection-of-raspberry-cpus.patch
disable-ccache.patch
fix-numeric-type.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment