openxcom: add patch to fix build with gcc6

This commit is contained in:
Robin Gloster 2017-01-19 22:57:29 +01:00
parent 6d3f23d045
commit 41cb4593b4
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -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;