pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netatalk3/patches Need this for proper signal regi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/840588db1ebe
branches:  trunk
changeset: 354685:840588db1ebe
user:      christos <christos%pkgsrc.org@localhost>
date:      Mon Nov 07 00:41:45 2016 +0000

description:
Need this for proper signal registration

diffstat:

 net/netatalk3/patches/patch-etc_netatalk_netatalk.c |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 36d6ae8c84e8 -r 840588db1ebe net/netatalk3/patches/patch-etc_netatalk_netatalk.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netatalk3/patches/patch-etc_netatalk_netatalk.c       Mon Nov 07 00:41:45 2016 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-etc_netatalk_netatalk.c,v 1.1 2016/11/07 00:41:45 christos Exp $
+
+--- etc/netatalk/netatalk.c.old        2014-11-19 05:22:07.000000000 -0500
++++ etc/netatalk/netatalk.c    2016-11-06 19:36:34.732675930 -0500
+@@ -400,7 +400,7 @@
+         netatalk_exit(EXITERR_CONF);
+     }
+ 
+-    sigterm_ev = event_new(base, SIGTERM, EV_SIGNAL, sigterm_cb, NULL);
++    sigterm_ev = event_new(base, SIGTERM, EV_SIGNAL | EV_PERSIST, sigterm_cb, NULL);
+     sigquit_ev = event_new(base, SIGQUIT, EV_SIGNAL | EV_PERSIST, sigquit_cb, NULL);
+     sighup_ev = event_new(base, SIGHUP,  EV_SIGNAL | EV_PERSIST, sighup_cb, NULL);
+     sigchld_ev = event_new(base, SIGCHLD, EV_SIGNAL | EV_PERSIST, sigchld_cb, NULL);



Home | Main Index | Thread Index | Old Index