Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37880686
en ru br
ALT Linux repos
S:0.6-alt3
5.0: 0.5-alt1
4.1: 0.5-alt1

Group :: System/Servers
RPM: apache2-mod_dnssd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mod_dnssd-0.6-httpd24.patch
Download


--- mod_dnssd-0.6/src/mod_dnssd.c.httpd24
+++ mod_dnssd-0.6/src/mod_dnssd.c
@@ -26,6 +26,9 @@
 #include <unixd.h>
 #include <apr_signal.h>
 #include <mpm_common.h>
+#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
+#include <mod_unixd.h>
+#endif
 
 #include <unistd.h>
 
@@ -576,7 +579,11 @@ static void child_process(apr_pool_t *p,
 
     ap_assert(d);
 
+#if AP_MODULE_MAGIC_AT_LEAST(20090130,0)
+    ap_unixd_setup_child();
+#else
     unixd_setup_child();
+#endif
 
     if (pipe(sigterm_pipe_fds) < 0) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin