srt-live-server: add missing ctime include

+14
+11
pkgs/applications/video/srt-live-server/add-ctime-include.patch
··· 1 + diff --git a/slscore/common.hpp b/slscore/common.hpp 2 + index 30aeeea..bed0e62 100644 3 + --- a/slscore/common.hpp 4 + +++ b/slscore/common.hpp 5 + @@ -29,6 +29,7 @@ 6 + #include <stddef.h> 7 + #include <stdint.h> 8 + #include <string> 9 + +#include <ctime> 10 + #include <vector> 11 + #include <unistd.h>
+3
pkgs/applications/video/srt-live-server/default.nix
··· 19 19 patches = [ 20 20 # https://github.com/Edward-Wu/srt-live-server/pull/94 21 21 ./fix-insecure-printfs.patch 22 + 23 + # https://github.com/Edward-Wu/srt-live-server/pull/127 # adds `#include <ctime>` 24 + ./add-ctime-include.patch 22 25 ]; 23 26 24 27 buildInputs = [ srt zlib ];