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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user