Skip to content

Commit b7144b2

Browse files
markus2342Mic92
authored andcommittedSep 11, 2017
desmume: fix build with gcc6 by adding debian patch
Debian also removed the package in testing when building with gcc7. (cherry picked from commit 55b5a94)
1 parent 6fb2a7c commit b7144b2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎pkgs/misc/emulators/desmume/default.nix

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchurl
1+
{ stdenv, fetchurl, fetchpatch
22
, pkgconfig, libtool, intltool
33
, libXmu
44
, lua
@@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
1818
sha256 = "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs";
1919
};
2020

21+
patches = [
22+
(fetchpatch {
23+
name = "gcc6_fixes.patch";
24+
url = "https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/desmume/debian/patches/gcc6_fixes.patch?revision=15925";
25+
sha256 = "0j3fmxz0mfb3f4biks03pyz8f9hy958ks6qplisl60rzq9v9qpks";
26+
})
27+
];
28+
2129
buildInputs =
2230
[ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch
2331
openal desktop_file_utils gtk2 gtkglext libglade pangox_compat

0 commit comments

Comments
 (0)
Please sign in to comment.