- Add missing patch from previous commit

- Fix build if NOPORT* enabled is

Feature safe:	yes
This commit is contained in:
Martin Wilke 2009-09-23 12:03:29 +00:00
parent 7b7e31a76b
commit 857e11f738
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241965
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- tcp/zoneserver.c.orig 2009-09-23 02:00:29.000000000 +0200
+++ tcp/zoneserver.c 2009-09-23 02:03:05.000000000 +0200
@@ -1014,7 +1014,7 @@
js_string *synth_soa_origin;
/* Kill children processes when we are signaled */
- if(setpgrp()) {
+ if(setpgrp(0, 0)) {
printf(strerror(errno)); /* harderror() would kill the group which may not be correct yet */
return 3;
}

View file

@ -137,6 +137,7 @@ sbin/zoneserver
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_full_mararc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_full_mararc.orig
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_mararc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_recursive_mararc.txt
@exec mkdir -p %D/%%ETCDIR%%/logger
@dirrmtry %%ETCDIR%%/logger
@dirrmtry %%ETCDIR%%