kumquat-buildroot/package/znc/0002-csocket-timeh.patch
Gustavo Zacarias 3e978ab536 znc: bump to version 1.6.1
Bump to release tarball version.
Add hash file.
Update and rework time.h patch for upstream inclusion (hopefully) by
splitting the CSocket patch out.
(https://github.com/znc/znc/pull/1021)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-09 11:42:33 +02:00

20 lines
582 B
Diff

Include time.h since time_t is used.
Status: not upstream, seems to be fixed in newer CSocket versions in a
different way but it hasn't been updated/bundled in znc yet.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura znc-1.6.1.orig/src/Csocket.cpp znc-1.6.1.cs/src/Csocket.cpp
--- znc-1.6.1.orig/src/Csocket.cpp 2015-08-06 10:14:45.256246307 -0300
+++ znc-1.6.1.cs/src/Csocket.cpp 2015-08-06 10:27:25.380446888 -0300
@@ -54,6 +54,8 @@
#include <unicode/ucnv_cb.h>
#endif /* HAVE_ICU */
+#include <time.h>
+
#include <list>
#define CS_SRANDBUFFER 128