From c90394bd7b97bf48a653d3483c33c3ac2748489d Mon Sep 17 00:00:00 2001 From: vicgeentor Date: Fri, 30 Jan 2026 15:38:32 +0100 Subject: [PATCH] ffmpeg_7-full: fix build failure on ffmpeg version 7.1.1 --- pkgs/development/libraries/ffmpeg/generic.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 5e2ddb653a94..82dd5c31381c 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -497,6 +497,12 @@ stdenv.mkDerivation ( hash = "sha256-Ixkf1xzuDGk5t8J/apXKtghY0X9cfqSj/q987zrUuLQ="; }) ] + ++ optionals (lib.versionAtLeast version "7.1.1" && lib.versionOlder version "7.1.3") [ + (fetchpatch2 { + url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/d8ffec5bf9a2803f55cc0822a97b7815f24bee83"; + hash = "sha256-lmSI5arShb2/W84FMnSNs3lb6rd5vWdUSzfU8oza0Ic="; + }) + ] ++ optionals (lib.versionOlder version "7.1.2") [ (fetchpatch2 { name = "unbreak-svt-av1-3.0.0.patch";