summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2017-11-26 09:49:30 -0800
committerJeremy Bicha <jbicha@debian.org>2017-11-26 09:49:30 -0800
commitd3b483d55e2e20c313d6c88784a03360f950bae2 (patch)
tree678c93b4772f3c442e706a4c924db31ccd1f2e58 /debian/patches
parent4937ad0d842b12cf8c6fc527c9cade8dad150fc0 (diff)
parent55d8ae748fb40c76a6320663ceaa5a1954f25b13 (diff)
mod-dnssd (0.6-3.2) unstable; urgency=medium
* Non-maintainer upload. * Modernize packaging (Closes: #882779) - Convert to simple dh7 style rules - Bump debhelper compat to 10 - Bump Standards-Version to 4.1.1 - Build with all hardening flags - Use section httpd instead of net - Use copyright format 1.0 * Update port-for-apache2.4.patch with version accepted upstream [dgit import unpatched mod-dnssd 0.6-3.2]
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/port-for-apache2.4.patch33
-rw-r--r--debian/patches/series1
2 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/port-for-apache2.4.patch b/debian/patches/port-for-apache2.4.patch
new file mode 100644
index 0000000..01596ee
--- /dev/null
+++ b/debian/patches/port-for-apache2.4.patch
@@ -0,0 +1,33 @@
+From be2fb9f6158f800685de7a1bc01c39b6cf1fa12c Mon Sep 17 00:00:00 2001
+From: Robby Workman <rworkman@slackware.com>
+Date: Fri, 8 Feb 2013 14:14:08 -0600
+Subject: mod_dnssd.c: Use ap_unixd_setup_child
+
+This fixeds an undefined reference to unixd_setup_child in the
+compiled module. This looks to have changed in httpd-2.3.2 dev:
+20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child().
+---
+ src/mod_dnssd.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c
+index 6179276..3363701 100644
+--- a/src/mod_dnssd.c
++++ b/src/mod_dnssd.c
+@@ -24,6 +24,7 @@
+ #include <ap_config.h>
+ #include <apr_strings.h>
+ #include <unixd.h>
++#include <mod_unixd.h>
+ #include <apr_signal.h>
+ #include <mpm_common.h>
+
+@@ -576,7 +577,7 @@ static void child_process(apr_pool_t *p, server_rec *server, struct global_confi
+
+ 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));
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..533d773
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+port-for-apache2.4.patch