libgroove: fix build

When compiling with GCC v7 and the `-Werror` flag several new warnings
caused the build to fail: https://hydra.nixos.org/build/70751457/nixlog/2

Note: I patched the CMake file manually as v4.3.0 is quite old, a v5 is
in progress, but isn't stable yet, so patching v4 seems to be the better
solution taking stability into account.

See tickets #31747 and #36453
This commit is contained in:
Maximilian Bosch
2018-03-09 11:32:19 +01:00
parent 6fcf691545
commit f3809c6f4a
2 changed files with 18 additions and 1 deletions
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1la9d9kig50mc74bxvhx6hzqv0nrci9aqdm4k2j4q0s1nlfgxipd";
};
patches = [ ./no-warnings-as-errors.patch ];
buildInputs = [ cmake libav SDL2 chromaprint libebur128 ];
meta = with stdenv.lib; {
@@ -18,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = https://github.com/andrewrk/libgroove;
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.andrewrk ];
maintainers = with maintainers; [ andrewrk ma27 ];
};
}