Summary: | media-plugins/caps-plugins-0.9.15 fails to build with GCC 6: call of overloaded 'div(uint&, uint&)' is ambiguous | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aric Belsito <lluixhi> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=632096 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 582084 | ||
Attachments: | Proposed patch. |
commit 18c01435cb944c9686562aa62908e361039ae807 Author: David Seifert <soap@gentoo.org> Date: Fri Sep 16 10:15:46 2016 +0200 media-plugins/caps-plugins: Allow for compiling with GCC 6 Gentoo-bug: 585554 * EAPI=6 * Patch borrowed from Debian |
Created attachment 437090 [details, diff] Proposed patch. Build-time failure because caps-plugins passes unsigned integers into a call to div, while the C standard has div implemented for int's, long's and long long's.