]> git.pld-linux.org Git - packages/apache-mod_dnssd.git/blobdiff - apache-2.4.patch
- fix apache 2.4 interoparability
[packages/apache-mod_dnssd.git] / apache-2.4.patch
diff --git a/apache-2.4.patch b/apache-2.4.patch
new file mode 100644 (file)
index 0000000..6eb5058
--- /dev/null
@@ -0,0 +1,24 @@
+--- 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));
This page took 0.072576 seconds and 4 git commands to generate.