git.iko.soy/typeable/nixpkgs
on master help sign in
lenmus: fixing build with gcc6
commitbd540d9370a9b3a4dc3a606e1a95a71ba95955a1 authorSamuel Leathers <sam@appliedtrust.com> dateMon 4 Sep 2017, 09:05 (9 years ago) parent9793582
1 file changed+12−1
pkgs/applications/misc/lenmus/default.nix+12−1
pkgs/applications/misc/lenmus/default.nix+12−1
@@ -1,4 +1,4 @@
1−{ stdenv, pkgconfig, fetchFromGitHub
1+{ stdenv, pkgconfig, fetchFromGitHub, fetchpatch
22, cmake, boost
33, portmidi, sqlite
44, freetype, libpng, pngpp, zlib
@@ -22,6 +22,17 @@ stdenv.mkDerivation rec {
2222
2323 enableParallelBuilding = true;
2424
25+ patches = [
26+ (fetchpatch {
27+ url = "https://github.com/lenmus/lenmus/commit/421760d84694a0e6e72d0e9b1d4fd30a7e129c6f.patch";
28+ sha256 = "1z1wwh0pcr8w1zlr8swx99si9y2kxx5bmavgwvy6bvdhxgm58yqs";
29+ })
30+ (fetchpatch {
31+ url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch";
32+ sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn";
33+ })
34+ ];
35+
2536 buildInputs = [
2637 pkgconfig
2738 cmake boost