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.
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816568
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