mkvtoolnix: patch to build on Darwin & FreeBSD (#311133)

Patch was applied upstream, but no new release was cut yet.
Addresses https://hydra.nixos.org/build/258096907

authored by nicoo and committed by GitHub 969eb3b1 b521caa0

+6
+6
pkgs/applications/video/mkvtoolnix/default.nix
··· 8 8 , cmark 9 9 , docbook_xsl 10 10 , expat 11 + , fetchpatch2 11 12 , file 12 13 , flac 13 14 , fmt ··· 93 94 ++ optionals withGUI [ cmark ] 94 95 ++ optionals stdenv.isLinux [ qtwayland ] 95 96 ++ optionals stdenv.isDarwin [ libiconv ]; 97 + 98 + patches = [ (fetchpatch2 { 99 + url = "https://gitlab.com/mbunkus/mkvtoolnix/-/commit/7e1bea9527616ab6ab38425e7290579f05dd9bb1.patch"; 100 + hash = "sha256-9UZrfwrzfKwF8XDzqYnuaDgZws7l1YAb5O1O1+nxo0g="; 101 + }) ]; 96 102 97 103 # autoupdate is not needed but it silences a ton of pointless warnings 98 104 postPatch = ''