Unbreak after <net/if.h> change: we need to include <sys/tree.h>
explicitely. ok mpi@ While here, fix a minor typo.
This commit is contained in:
parent
f8e99b1793
commit
7c9740d9bb
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2013/10/31 21:12:13 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2013/11/26 08:53:23 jca Exp $
|
||||
|
||||
COMMENT = MDNS/DNS-SD daemon
|
||||
|
||||
DISTNAME = openmdns-0.5
|
||||
REVISION = 3
|
||||
REVISION = 4
|
||||
CATEGORIES = net
|
||||
|
||||
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
|
||||
|
12
net/openmdns/patches/patch-mdnsd_mdns_c
Normal file
12
net/openmdns/patches/patch-mdnsd_mdns_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-mdnsd_mdns_c,v 1.1 2013/11/26 08:53:24 jca Exp $
|
||||
--- mdnsd/mdns.c.orig Mon Nov 25 23:32:38 2013
|
||||
+++ mdnsd/mdns.c Mon Nov 25 23:32:20 2013
|
||||
@@ -1091,7 +1091,7 @@ pge_new_workstation(struct iface *iface)
|
||||
bzero(&ms, sizeof(ms));
|
||||
ms.port = 9; /* workstation stuff */
|
||||
(void)strlcpy(ms.app, "workstation", sizeof(ms.app));
|
||||
- (void)strlcpy(ms.proto, "tcp", sizeof(ms.app));
|
||||
+ (void)strlcpy(ms.proto, "tcp", sizeof(ms.proto));
|
||||
(void)strlcpy(myname, conf->myname, sizeof(myname));
|
||||
/* Chomp .local suffix */
|
||||
if ((cp = strchr(myname, '.')) != NULL)
|
11
net/openmdns/patches/patch-mdnsd_mdnsd_h
Normal file
11
net/openmdns/patches/patch-mdnsd_mdnsd_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-mdnsd_mdnsd_h,v 1.1 2013/11/26 08:53:24 jca Exp $
|
||||
--- mdnsd/mdnsd.h.orig Mon Nov 25 23:30:58 2013
|
||||
+++ mdnsd/mdnsd.h Mon Nov 25 23:30:10 2013
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <sys/tree.h>
|
||||
#include <sys/types.h>
|
||||
#include <net/if_arp.h>
|
||||
#include <net/if.h>
|
Loading…
Reference in New Issue
Block a user