From de7f6cdd13089069c104f55d6b73892de4d02068 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 14 Jun 2026 20:58:53 +0200 Subject: [PATCH] ffmpeg: Exclude known-broken test on big-endian --- pkgs/development/libraries/ffmpeg/generic.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 6c16418a2c51..53b521f8ada2 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -439,6 +439,13 @@ stdenv.mkDerivation ( --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1 substituteInPlace doc/filters.texi \ --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1 + '' + # https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/22564, also fails on big-endian POWER + + lib.optionalString (lib.versionAtLeast version "8.1" && stdenv.hostPlatform.isBigEndian) '' + substituteInPlace tests/fate/vcodec.mak \ + --replace-fail \ + 'FATE_VCODEC_SCALE-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16' \ + 'FATE_VCODEC_SCALE-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff444 ffvhuff422p10left ffvhuff444p16' ''; patches =