Skip to content

Commit e23775a

Browse files
authored
sanjuuni: fix build with FFmpeg 7 (#354089)
2 parents fe81678 + 5244ebe commit e23775a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/sa/sanjuuni/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
3131
opencl-clhpp
3232
];
3333

34+
postPatch = ''
35+
# TODO: Remove when https://github.com/MCJack123/sanjuuni/commit/778644b164c8877e56f9f5512480dde857133815 is released
36+
substituteInPlace configure \
37+
--replace-fail "swr_alloc_set_opts" "swr_alloc_set_opts2"
38+
'';
39+
3440
installPhase = ''
3541
runHook preInstall
3642

0 commit comments

Comments
 (0)