caps: fix build with gcc6

authored by Piotr Bogdan and committed by Franz Pletz 3d8d9aa1 101a048f

+8
+8
pkgs/applications/audio/caps/default.nix
··· 6 6 url = "http://www.quitte.de/dsp/caps_${version}.tar.bz2"; 7 7 sha256 = "081zx0i2ysw5nmy03j60q9j11zdlg1fxws81kwanncdgayxgwipp"; 8 8 }; 9 + 10 + patches = [ 11 + (fetchurl { 12 + url = "https://anonscm.debian.org/cgit/pkg-multimedia/caps.git/plain/debian/patches/0001-Avoid-ambiguity-in-div-invocation.patch"; 13 + sha256 = "1b1pb5yfskiw8zi1lkj572l2ajpirh4amq538vggwvlpv1fqfway"; 14 + }) 15 + ]; 16 + 9 17 configurePhase = '' 10 18 echo "PREFIX = $out" > defines.make 11 19 '';