dsp: fix build with ffmpeg7

- add patch from upstream commmit fixing ffmpeg7 compatibility:
https://github.com/bmc0/dsp/commit/58a9d0c1f99f2d4c7fc51b6dbe563447ec60120f
This commit is contained in:
ghpzin
2024-10-14 20:41:18 +03:00
parent 0741d0e0cf
commit 7824143e5f
+10
View File
@@ -13,6 +13,7 @@
, ladspaH
, libtool
, libpulseaudio
, fetchpatch
}:
stdenv.mkDerivation (finalAttrs: {
@@ -28,6 +29,15 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
patches = [
# fix compatibility with ffmpeg7
# https://github.com/bmc0/dsp/commit/58a9d0c1f99f2d4c7fc51b6dbe563447ec60120f
(fetchpatch {
url = "https://github.com/bmc0/dsp/commit/58a9d0c1f99f2d4c7fc51b6dbe563447ec60120f.patch?full_index=1";
hash = "sha256-7WgJegDL9sVCRnRwm/f1ZZl2eiuRT5oAQaYoDLjEoqs=";
})
];
buildInputs = [
fftw
zita-convolver