yabridge: Fix for wine 6.20

+9 -2
+9 -2
pkgs/tools/audio/yabridge/default.nix
··· 1 1 { lib 2 2 , multiStdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , substituteAll 5 6 , meson 6 7 , ninja ··· 85 86 src = ./hardcode-wine.patch; 86 87 inherit wine; 87 88 }) 89 + # Remove with next yabridge update 90 + (fetchpatch { 91 + name = "fix-for-wine-6.20.patch"; 92 + url = "https://github.com/robbert-vdh/yabridge/commit/5be149cb525a638f7fc3adf84918c8239ee50ecf.patch"; 93 + sha256 = "sha256-x/gfn4mKZIGQ4M0o/0LlZF8i8wZDx/bkwf8wp0BGDBo="; 94 + }) 88 95 ]; 89 96 90 97 postPatch = '' ··· 121 128 ]; 122 129 123 130 preConfigure = '' 124 - sed -i "214s|xcb.*|xcb_32bit_dep = winegcc.find_library('xcb', dirs: [ '${lib.getLib pkgsi686Linux.xorg.libxcb}/lib', ])|" meson.build 125 - sed -i "192 i '${lib.getLib pkgsi686Linux.boost}/lib'," meson.build 131 + sed -i "221s|xcb.*|xcb_32bit_dep = winegcc.find_library('xcb', dirs: [ '${lib.getLib pkgsi686Linux.xorg.libxcb}/lib', ])|" meson.build 132 + sed -i "199 i '${lib.getLib pkgsi686Linux.boost}/lib'," meson.build 126 133 ''; 127 134 128 135 installPhase = ''