zoneminder: fix building against FFmpeg 8.0
We switch default FFmpeg to 8.0 in commit 130c992 ("ffmpeg: switch
default to ffmpeg_8"), which breaks ZoneMinder. Add a patch to fix it.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
cmake,
|
cmake,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
@@ -94,6 +95,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Fix building against FFmpeg 8.0
|
||||||
|
# https://github.com/ZoneMinder/zoneminder/pull/4466
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/peat-psuwit/zoneminder/commit/15241687e9ccd97d7866cc7245324472ff6c7f0e.patch";
|
||||||
|
hash = "sha256-DXeoYOMI3Hcpwshg6wiBxaoTPOswLVV3Weq3Mh5Vaw0=";
|
||||||
|
})
|
||||||
|
|
||||||
./default-to-http-1dot1.patch
|
./default-to-http-1dot1.patch
|
||||||
./0001-Don-t-use-file-timestamp-in-cache-filename.patch
|
./0001-Don-t-use-file-timestamp-in-cache-filename.patch
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user