about summary refs log tree commit diff
path: root/pkgs/applications/video/mkvtoolnix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/mkvtoolnix')
-rw-r--r--pkgs/applications/video/mkvtoolnix/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix
index 1b2e9fdc3c3d8..d256854ea4d32 100644
--- a/pkgs/applications/video/mkvtoolnix/default.nix
+++ b/pkgs/applications/video/mkvtoolnix/default.nix
@@ -56,6 +56,15 @@ stdenv.mkDerivation rec {
     sha256 = "t+kfFS5c8w+c9wxNh59nceFesfdMy8qvHlUqDbZAxkk=";
   };
 
+  patches = [
+    # Fix compatiblity with fmt 10.0. Remove with the next release
+    (fetchpatch {
+      url = "https://gitlab.com/mbunkus/mkvtoolnix/-/commit/24716ce95bf5b10d685611de23489045cf2ca5cc.patch";
+      hash = "sha256-vOm3FmXL3mHzs3RHCJ9gbTLSe3xhSXo8IfgA+s0cFjY=";
+      includes = [ "src/common/codec.h" ];
+    })
+  ];
+
   nativeBuildInputs = [
     autoreconfHook
     docbook_xsl