setbfree: add upstream patch to fix build

patch adds -lGL to fix link error
https://github.com/pantherb/setBfree/commit/756437db43fbf5481f101d8fc695f8b11192047f

Anna Lee 9c678ae1 911ad1e6

+11 -2
+11 -2
pkgs/applications/audio/setbfree/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, alsa-lib, freetype, ftgl, libjack2, libX11, lv2 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, alsa-lib, freetype, ftgl, libjack2, libX11, lv2 2 2 , libGLU, libGL, pkg-config, ttf_bitstream_vera 3 3 }: 4 4 ··· 10 10 owner = "pantherb"; 11 11 repo = "setBfree"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-e/cvD/CtT8dY1lYcsZ21DC8pNqKXqKfC/eRXX8k01eI="; 13 + hash = "sha256-e/cvD/CtT8dY1lYcsZ21DC8pNqKXqKfC/eRXX8k01eI="; 14 14 }; 15 + 16 + patches = [ 17 + # link with -lGL can remove on next update 18 + (fetchpatch { 19 + name = "ui-add-lGL.patch"; 20 + url = "https://github.com/pantherb/setBfree/commit/756437db43fbf5481f101d8fc695f8b11192047f.patch"; 21 + hash = "sha256-49PYTayD4TchAApfFvj3DLc4EBTxH8LYx48TtdSRwwA="; 22 + }) 23 + ]; 15 24 16 25 postPatch = '' 17 26 substituteInPlace common.mak \