Skip to content

Commit

Permalink
desmume: fix build with gcc6 by adding debian patch
Browse files Browse the repository at this point in the history
Debian also removed the package in testing when building
with gcc7.

(cherry picked from commit 55b5a94)
  • Loading branch information
markus2342 authored and Mic92 committed Sep 11, 2017
1 parent 6fb2a7c commit b7144b2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/misc/emulators/desmume/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ stdenv, fetchurl, fetchpatch
, pkgconfig, libtool, intltool
, libXmu
, lua
Expand All @@ -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
Expand Down

0 comments on commit b7144b2

Please sign in to comment.