tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
srt-live-server: add missing ctime include
Timon Stampfli
2 years ago
d07a2fc1
7a14867b
+14
2 changed files
expand all
collapse all
unified
split
pkgs
applications
video
srt-live-server
add-ctime-include.patch
default.nix
+11
pkgs/applications/video/srt-live-server/add-ctime-include.patch
···
1
1
+
diff --git a/slscore/common.hpp b/slscore/common.hpp
2
2
+
index 30aeeea..bed0e62 100644
3
3
+
--- a/slscore/common.hpp
4
4
+
+++ b/slscore/common.hpp
5
5
+
@@ -29,6 +29,7 @@
6
6
+
#include <stddef.h>
7
7
+
#include <stdint.h>
8
8
+
#include <string>
9
9
+
+#include <ctime>
10
10
+
#include <vector>
11
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
22
+
23
23
+
# https://github.com/Edward-Wu/srt-live-server/pull/127 # adds `#include <ctime>`
24
24
+
./add-ctime-include.patch
22
25
];
23
26
24
27
buildInputs = [ srt zlib ];