From 14ff6e7d01ab66453e52a2c537bd6e3243946467 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 7 Mar 2018 05:03:24 +0100 Subject: games/albion: Fix ancient wildmidi against GCC 7 The first error is that there was a case statement fallthrough which was actually unintended and is a bug in the ancient wildmidi used here, while the second one was because of a structure that wasn't initialized to zero before first use. Signed-off-by: aszlig --- pkgs/games/gog/albion/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/games/gog/albion/default.nix') diff --git a/pkgs/games/gog/albion/default.nix b/pkgs/games/gog/albion/default.nix index 1242ecb7..8ecc6e6e 100644 --- a/pkgs/games/gog/albion/default.nix +++ b/pkgs/games/gog/albion/default.nix @@ -22,6 +22,7 @@ let src = "${staticRecompilerSource}/midi-libs/${variant}-0.2.3.5svn"; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ alsaLib ]; + patches = [ ./wildmidi-build-fixes.patch ]; postPatch = "sed -i -e '/^CFLAGS/s/-pedantic//' configure.ac"; }; -- cgit 1.4.1