Control: tags -1 + fixed-upstream patch

On 11/25/18 12:45 PM, Adrian Bunk wrote:
> Source: supercollider
> Version: 1:3.8.0~repack-2
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/package.php?p=supercollider&suite=sid
> 
> ...
> In file included from 
> /<<PKGBUILDDIR>>/server/supernova/sc/../server/synth.hpp:29,
>                  from /<<PKGBUILDDIR>>/server/supernova/sc/sc_synth.hpp:31,
>                  from 
> /<<PKGBUILDDIR>>/server/supernova/sc/sc_synth_definition.cpp:25:
> /<<PKGBUILDDIR>>/server/supernova/./utilities/time_tag.hpp: In member 
> function 'boost::posix_time::ptime nova::time_tag::to_ptime() const':
> /<<PKGBUILDDIR>>/server/supernova/./utilities/time_tag.hpp:233:102: error: no 
> matching function for call to 
> 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 
> 1000000>::subsecond_duration(double)'
>          time_duration offset = seconds(get_secs() - ntp_offset) + 
> microseconds(get_nanoseconds()/1000);
>                                                                               
>                         ^
> [snip]

This is fixed in an upstream commit at:
https://github.com/supercollider/supercollider/commit/bbcd068659ced596402dedc78f49fabfab6470bd.patch
It simply applies "static_cast<long>" to the result of the division.
Interestingly enough, it is not in any released version (up to 3.10.0).

Philip Chung

_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to