diff options
Diffstat (limited to 'meta/recipes-core/runit/runit/svlogd.patch')
-rw-r--r-- | meta/recipes-core/runit/runit/svlogd.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/runit/runit/svlogd.patch b/meta/recipes-core/runit/runit/svlogd.patch new file mode 100644 index 0000000000..468fdb2ae4 --- /dev/null +++ b/meta/recipes-core/runit/runit/svlogd.patch @@ -0,0 +1,19 @@ +Initialize all fields of sockaddr_in. +http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn + +set all fields of sockaddr_in in svlogd. + +Upstream-Status: Submitted + +Author: Leah Neukirchen <leah@vuxu.org> + +--- runit-2.1.2/src/svlogd.c 2014-08-10 15:22:34.000000000 -0300 ++++ runit-2.1.2/src/svlogd.c 2016-02-04 22:53:52.910965361 -0300 +@@ -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(); |