openxcom: add patch to fix build with gcc6
This commit is contained in:
parent
6d3f23d045
commit
41cb4593b4
|
@ -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 }:
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
||||||
|
|
||||||
let version = "1.0.0"; in
|
let version = "1.0.0"; in
|
||||||
|
@ -13,6 +13,11 @@ stdenv.mkDerivation {
|
||||||
buildInputs = [ cmake mesa zlib openssl libyamlcpp boost
|
buildInputs = [ cmake mesa zlib openssl libyamlcpp boost
|
||||||
SDL SDL_image SDL_mixer SDL_gfx ];
|
SDL SDL_image SDL_mixer SDL_gfx ];
|
||||||
|
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = "https://github.com/SupSuper/OpenXcom/commit/49bec0851fc6e5365cac0f71b2c40a80ddf95e77.patch";
|
||||||
|
sha256 = "156fk8wz4qc0nmqq3zjb6kw84qirabads2azr6xvlgb3lcn327v2";
|
||||||
|
}) ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open source clone of UFO: Enemy Unknown";
|
description = "Open source clone of UFO: Enemy Unknown";
|
||||||
homepage = http://openxcom.org;
|
homepage = http://openxcom.org;
|
||||||
|
|
Loading…
Reference in a new issue