From 2363cc101e923e5cf7696f95a3dc3d49a2e3db33 Mon Sep 17 00:00:00 2001 From: aleksana Date: Sun, 26 Jan 2025 16:01:03 +0800 Subject: [PATCH] avidemux: fix build against x265 4.1 --- pkgs/applications/video/avidemux/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/video/avidemux/default.nix b/pkgs/applications/video/avidemux/default.nix index 4c1dfaa7a8fa..2e7275372514 100644 --- a/pkgs/applications/video/avidemux/default.nix +++ b/pkgs/applications/video/avidemux/default.nix @@ -64,6 +64,13 @@ stdenv.mkDerivation rec { patches = [ ./dynamic_install_dir.patch ./bootstrap_logging.patch + # x265 API change in 4.1 breaks build + # See discussion in https://avidemux.org/smif/index.php/topic,19995.msg97494.html#msg97494 + (fetchpatch { + name = "fix_build_with_x265_4_1.patch"; + url = "https://github.com/mean00/avidemux2/commit/c16d32a67cdb012db093472ad3776713939a30d1.patch"; + hash = "sha256-5QqocvYaY/phyvSX2lhTzeAi+z9Wgqs+ITR0cXReps4="; + }) ]; postPatch = ''