aboutsummaryrefslogtreecommitdiff
path: root/www/mod_dnssd
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-09-10 11:58:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-09-10 11:58:52 +0000
commitcef41ba4be8d79914395ea4601b1dfffc5e1dd6e (patch)
tree15e47fffda99a386f4687dcdd3882e7b5c9e0862 /www/mod_dnssd
parent0bf2f06427882880dbe5707f65afd63192ce3bf6 (diff)
Notes
Diffstat (limited to 'www/mod_dnssd')
-rw-r--r--www/mod_dnssd/Makefile2
-rw-r--r--www/mod_dnssd/files/patch-src-mod_dnssd.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/www/mod_dnssd/Makefile b/www/mod_dnssd/Makefile
index b9b2b3eb0245..1565d260e5b9 100644
--- a/www/mod_dnssd/Makefile
+++ b/www/mod_dnssd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mod_dnssd
PORTVERSION= 0.6
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= www
MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
diff --git a/www/mod_dnssd/files/patch-src-mod_dnssd.c b/www/mod_dnssd/files/patch-src-mod_dnssd.c
new file mode 100644
index 000000000000..791d4a5082f4
--- /dev/null
+++ b/www/mod_dnssd/files/patch-src-mod_dnssd.c
@@ -0,0 +1,14 @@
+--- src/mod_dnssd.c.orig
++++ src/mod_dnssd.c
+@@ -27,6 +27,11 @@
+ #include <apr_signal.h>
+ #include <mpm_common.h>
++#include <mod_unixd.h>
+
++#if MODULE_MAGIC_NUMBER_MAJOR >= 20090130
++#define unixd_setup_child ap_unixd_setup_child
++#endif
++
+ #include <unistd.h>
+
+ #include <avahi-common/simple-watch.h>