ffmpeg: limit patch application to versions < 8.1

This fixes building with unbreak-hardcoded-tables.patch, which is only required for ffmpeg versions between 5.1 and 8.0.
This commit is contained in:
ProxyVT
2026-04-07 13:18:33 +03:00
committed by jopejoe1
parent 41ecde38fa
commit 4dfc641c2f
@@ -452,6 +452,8 @@ stdenv.mkDerivation (
]
++ optionals (lib.versionAtLeast version "5.1") [
./nvccflags-cpp14.patch
]
++ optionals (lib.versionAtLeast version "5.1" && lib.versionOlder version "8.1") [
(fetchpatch2 {
name = "unbreak-hardcoded-tables.patch";
url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/1d47ae65bf6df91246cbe25c997b25947f7a4d1d";