arcan: add upstream patch for FFmpeg 7

This commit is contained in:
Emily 2024-10-03 21:26:41 +01:00
parent ef7d970a8b
commit 815287fb19

View File

@ -2,6 +2,7 @@
lib,
SDL2,
callPackage,
fetchpatch2,
cmake,
espeak-ng,
ffmpeg,
@ -60,6 +61,14 @@
stdenv.mkDerivation (finalAttrs: {
inherit (sources.letoram-arcan) pname version src;
patches = [
# (encode) remove deprecated use of pts/channel-layout
(fetchpatch2 {
url = "https://github.com/letoram/arcan/commit/e717c1b5833bdc2dea7dc6f64eeaf39c683ebd26.patch?full_index=1";
hash = "sha256-nUmOWfphGtGiLehUa78EJWqTlD7SvqJgl8lnn90vTFU=";
})
];
nativeBuildInputs = [
cmake
makeWrapper