diff options
author | Robin Gloster <mail@glob.in> | 2017-01-19 22:57:29 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-01-25 20:12:39 +0100 |
commit | 41cb4593b437f2ef1caad989a0f8f6f62ac5e62f (patch) | |
tree | 5438f5f88ffa8af25ca8ab03b8a74d3d7fbaf48d /pkgs/games | |
parent | 6d3f23d0457f87952d13c2a47f404a83a4593be7 (diff) |
openxcom: add patch to fix build with gcc6
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/openxcom/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/games/openxcom/default.nix b/pkgs/games/openxcom/default.nix index 204663e1448c..65c2a42922b2 100644 --- a/pkgs/games/openxcom/default.nix +++ b/pkgs/games/openxcom/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, cmake, mesa, zlib, openssl, libyamlcpp, boost +{stdenv, fetchurl, fetchpatch, cmake, mesa, zlib, openssl, libyamlcpp, boost , SDL, SDL_image, SDL_mixer, SDL_gfx }: let version = "1.0.0"; in @@ -13,6 +13,11 @@ stdenv.mkDerivation { buildInputs = [ cmake mesa zlib openssl libyamlcpp boost SDL SDL_image SDL_mixer SDL_gfx ]; + patches = [ (fetchpatch { + url = "https://github.com/SupSuper/OpenXcom/commit/49bec0851fc6e5365cac0f71b2c40a80ddf95e77.patch"; + sha256 = "156fk8wz4qc0nmqq3zjb6kw84qirabads2azr6xvlgb3lcn327v2"; + }) ]; + meta = { description = "Open source clone of UFO: Enemy Unknown"; homepage = http://openxcom.org; |