From 7c9740d9bb6dcdbab7b17332711b61aa9538ffc6 Mon Sep 17 00:00:00 2001 From: jca Date: Tue, 26 Nov 2013 08:53:23 +0000 Subject: [PATCH] Unbreak after change: we need to include explicitely. ok mpi@ While here, fix a minor typo. --- net/openmdns/Makefile | 4 ++-- net/openmdns/patches/patch-mdnsd_mdns_c | 12 ++++++++++++ net/openmdns/patches/patch-mdnsd_mdnsd_h | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 net/openmdns/patches/patch-mdnsd_mdns_c create mode 100644 net/openmdns/patches/patch-mdnsd_mdnsd_h diff --git a/net/openmdns/Makefile b/net/openmdns/Makefile index 01fba945615..7f369ec642a 100644 --- a/net/openmdns/Makefile +++ b/net/openmdns/Makefile @@ -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. diff --git a/net/openmdns/patches/patch-mdnsd_mdns_c b/net/openmdns/patches/patch-mdnsd_mdns_c new file mode 100644 index 00000000000..dce07519f76 --- /dev/null +++ b/net/openmdns/patches/patch-mdnsd_mdns_c @@ -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) diff --git a/net/openmdns/patches/patch-mdnsd_mdnsd_h b/net/openmdns/patches/patch-mdnsd_mdnsd_h new file mode 100644 index 00000000000..64a1a3964fb --- /dev/null +++ b/net/openmdns/patches/patch-mdnsd_mdnsd_h @@ -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 + #include ++#include + #include + #include + #include