forked from pool/apache2-mod_dnssd
- fix build with gcc14 - added patches work with apache 2.4 + apache2-mod_dnssd-httpd24.patch OBS-URL: https://build.opensuse.org/request/show/1172447 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_dnssd?expand=0&rev=26
29 lines
787 B
Diff
29 lines
787 B
Diff
Index: mod_dnssd-0.6/src/mod_dnssd.c
|
|
===================================================================
|
|
--- mod_dnssd-0.6.orig/src/mod_dnssd.c
|
|
+++ mod_dnssd-0.6/src/mod_dnssd.c
|
|
@@ -23,11 +23,13 @@
|
|
#include <apr_lib.h>
|
|
#include <ap_config.h>
|
|
#include <apr_strings.h>
|
|
-#include <unixd.h>
|
|
+#include <mod_unixd.h>
|
|
#include <apr_signal.h>
|
|
#include <mpm_common.h>
|
|
|
|
#include <unistd.h>
|
|
+#include <sys/types.h>
|
|
+#include <pwd.h>
|
|
|
|
#include <avahi-common/simple-watch.h>
|
|
#include <avahi-common/domain.h>
|
|
@@ -576,7 +578,7 @@ static void child_process(apr_pool_t *p,
|
|
|
|
ap_assert(d);
|
|
|
|
- unixd_setup_child();
|
|
+ ap_unixd_setup_child();
|
|
|
|
if (pipe(sigterm_pipe_fds) < 0) {
|
|
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));
|