mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
openxcom: add patch to fix build with gcc6
This commit is contained in:
parent
53a2bbd552
commit
b705cd4da7
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue