desmume: fix build with gcc6 by adding debian patch

Debian also removed the package in testing when building
with gcc7.
This commit is contained in:
Markus Mueller 2017-09-10 14:52:13 +00:00
parent 631abf835e
commit 55b5a94d84

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ stdenv, fetchurl, fetchpatch
, pkgconfig, libtool, intltool
, libXmu
, lua
@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
sha256 = "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs";
};
patches = [
(fetchpatch {
name = "gcc6_fixes.patch";
url = "https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/desmume/debian/patches/gcc6_fixes.patch?revision=15925";
sha256 = "0j3fmxz0mfb3f4biks03pyz8f9hy958ks6qplisl60rzq9v9qpks";
})
];
buildInputs =
[ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch
openal desktop_file_utils gtk2 gtkglext libglade pangox_compat