From 14942f3c48055b4bd12d55b2e45162d806a97ee2 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 13 Feb 2020 11:34:51 +0300 Subject: runit: make it usable --- core/runit/patches/svlogd.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/runit/patches/svlogd.patch (limited to 'core/runit/patches/svlogd.patch') diff --git a/core/runit/patches/svlogd.patch b/core/runit/patches/svlogd.patch new file mode 100644 index 00000000..c43a228f --- /dev/null +++ b/core/runit/patches/svlogd.patch @@ -0,0 +1,14 @@ +Taken from void +Initialize all fields of sockaddr_in. +http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn + +--- runit-2.1.2/src/svlogd.c ++++ runit-2.1.2/src/svlogd.c +@@ -430,6 +430,7 @@ + ld->name =(char*)fn; + ld->ppid =0; + ld->match ='+'; ++ ld->udpaddr.sin_family =AF_INET; + ld->udpaddr.sin_port =0; + ld->udponly =0; + while (! stralloc_copys(&ld->prefix, "")) pause_nomem(); -- cgit v1.2.3