Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 583512

Summary: media-sound/drumstick-1.0.2: fails to build with gcc-6
Product: Gentoo Linux Reporter: David Kredba <kredba>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/drumstick/patches/3/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: Patch from https://sourceforge.net/p/drumstick/patches/3/

Description David Kredba 2016-05-19 18:35:45 UTC
Created attachment 434734 [details, diff]
Patch from https://sourceforge.net/p/drumstick/patches/3/

/var/tmp/portage/media-sound/drumstick-1.0.2/work/drumstick-1.0.2/library/file/qove.cpp: In member function ‘void drumstick::QOve::convertSignatures()’:
/var/tmp/portage/media-sound/drumstick-1.0.2/work/drumstick-1.0.2/library/file/qove.cpp:11359:99: error: call of overloaded ‘abs(double)’ is ambiguous
     if (k == 0 || (k > 0 && abs(measure->getTypeTempo() - d->ove.getMeasure(k - 1)->getTypeTempo()) > 0.01)) {
                                                                                                   ^
Upstream accepted patch is at
https://sourceforge.net/p/drumstick/patches/3/
fixing a second issue in addition.
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-05-20 16:52:15 UTC
Comment on attachment 434734 [details, diff]
Patch from https://sourceforge.net/p/drumstick/patches/3/

Referenced in link.