sanjuuni: fix build with FFmpeg 7 (#354089)

This commit is contained in:
Emily 2024-11-07 03:15:02 +00:00 committed by GitHub
commit e23775a6a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
opencl-clhpp
];
postPatch = ''
# TODO: Remove when https://github.com/MCJack123/sanjuuni/commit/778644b164c8877e56f9f5512480dde857133815 is released
substituteInPlace configure \
--replace-fail "swr_alloc_set_opts" "swr_alloc_set_opts2"
'';
installPhase = ''
runHook preInstall