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 , cmark 9 , docbook_xsl 10 , expat 11 , file 12 , flac 13 , fmt ··· 93 ++ optionals withGUI [ cmark ] 94 ++ optionals stdenv.isLinux [ qtwayland ] 95 ++ optionals stdenv.isDarwin [ libiconv ]; 96 97 # autoupdate is not needed but it silences a ton of pointless warnings 98 postPatch = ''
··· 8 , cmark 9 , docbook_xsl 10 , expat 11 + , fetchpatch2 12 , file 13 , flac 14 , fmt ··· 94 ++ optionals withGUI [ cmark ] 95 ++ optionals stdenv.isLinux [ qtwayland ] 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 + }) ]; 102 103 # autoupdate is not needed but it silences a ton of pointless warnings 104 postPatch = ''