Skip to content

Commit

Permalink
caps: fix build with gcc6
Browse files Browse the repository at this point in the history
(cherry picked from commit 3d8d9aa)
  • Loading branch information
pbogdan authored and fpletz committed Sep 5, 2017
1 parent f24a7f6 commit 6ba56fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/audio/caps/default.nix
Expand Up @@ -6,6 +6,14 @@ stdenv.mkDerivation rec {
url = "http://www.quitte.de/dsp/caps_${version}.tar.bz2";
sha256 = "081zx0i2ysw5nmy03j60q9j11zdlg1fxws81kwanncdgayxgwipp";
};

patches = [
(fetchurl {
url = "https://anonscm.debian.org/cgit/pkg-multimedia/caps.git/plain/debian/patches/0001-Avoid-ambiguity-in-div-invocation.patch";
sha256 = "1b1pb5yfskiw8zi1lkj572l2ajpirh4amq538vggwvlpv1fqfway";
})
];

configurePhase = ''
echo "PREFIX = $out" > defines.make
'';
Expand Down

0 comments on commit 6ba56fe

Please sign in to comment.