diff options
author | christos <christos@pkgsrc.org> | 2016-11-07 00:41:45 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2016-11-07 00:41:45 +0000 |
commit | 432cc5c1e615bd1b3c44a5ad2ce349a2712af267 (patch) | |
tree | f955517737523303efc3eb603d3f3ca76db37975 /net/netatalk3 | |
parent | 98bccfbe9ad28a6b5ab34f69ab62131243024335 (diff) | |
download | pkgsrc-432cc5c1e615bd1b3c44a5ad2ce349a2712af267.tar.gz |
Need this for proper signal registration
Diffstat (limited to 'net/netatalk3')
-rw-r--r-- | net/netatalk3/patches/patch-etc_netatalk_netatalk.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/netatalk3/patches/patch-etc_netatalk_netatalk.c b/net/netatalk3/patches/patch-etc_netatalk_netatalk.c new file mode 100644 index 00000000000..a9689a41d83 --- /dev/null +++ b/net/netatalk3/patches/patch-etc_netatalk_netatalk.c @@ -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); |