diff options
author | aszlig <aszlig@nix.build> | 2018-03-07 05:03:24 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-03-07 05:03:24 +0100 |
commit | 14ff6e7d01ab66453e52a2c537bd6e3243946467 (patch) | |
tree | 72e00cf2ba633613e39ad4a5a5b5cc03025a021c /pkgs/games/gog/albion/default.nix | |
parent | 15925535271fd588b156f514c9bd2f8823cfff6b (diff) |
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 <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/gog/albion/default.nix')
-rw-r--r-- | pkgs/games/gog/albion/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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"; }; |