Merge pull request #29207 from markus2342/fix-desmume-gcc6

desmume: fix build with gcc6 by adding debian patch

authored by Jörg Thalheim and committed by GitHub 3f18ad18 9f4fa733

+9 -1
+9 -1
pkgs/misc/emulators/desmume/default.nix
··· 1 - { stdenv, fetchurl 1 + { stdenv, fetchurl, fetchpatch 2 2 , pkgconfig, libtool, intltool 3 3 , libXmu 4 4 , lua ··· 17 17 url = "mirror://sourceforge/project/desmume/desmume/${version}/${name}.tar.gz"; 18 18 sha256 = "15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"; 19 19 }; 20 + 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 + ]; 20 28 21 29 buildInputs = 22 30 [ pkgconfig libtool intltool libXmu lua agg alsaLib soundtouch