From 4195907ee7393313f734981e2ce69142ac318402 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 27 Dec 2007 15:45:19 +0000 Subject: Fix build on DragonFly. --- net/httping/Makefile | 5 +++-- net/httping/distinfo | 3 ++- net/httping/patches/patch-ad | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 net/httping/patches/patch-ad (limited to 'net/httping') diff --git a/net/httping/Makefile b/net/httping/Makefile index 9927b719027..e0f73ded21c 100644 --- a/net/httping/Makefile +++ b/net/httping/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/09/18 20:30:00 adrianp Exp $ +# $NetBSD: Makefile,v 1.7 2007/12/27 15:45:19 joerg Exp $ # DISTNAME= httping-1.2.5 @@ -14,7 +14,8 @@ COMMENT= Like 'ping' but for http-requests LDFLAGS.SunOS= -lnsl -lsocket -.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[123]*)) || ${OPSYS} == "Darwin" +.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[123]*)) || \ + ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" .else CFLAGS+= -DHAVE_STRNDUP .endif diff --git a/net/httping/distinfo b/net/httping/distinfo index 16dd19273bb..77c7ac495c2 100644 --- a/net/httping/distinfo +++ b/net/httping/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2007/09/18 20:30:00 adrianp Exp $ +$NetBSD: distinfo,v 1.5 2007/12/27 15:45:19 joerg Exp $ SHA1 (httping-1.2.5.tgz) = f1d1c4797d47c1c34d1132bdb4e42b131c859e6d RMD160 (httping-1.2.5.tgz) = 8e89fbe7308e4b1d3f4e87b7fae9b10edc273218 @@ -6,3 +6,4 @@ Size (httping-1.2.5.tgz) = 13078 bytes SHA1 (patch-aa) = 398c2b9a4152f2b4aaad85fc5829ae3b8f85d7fa SHA1 (patch-ab) = 28f13ce32299c6dab791ae411e58567500834c04 SHA1 (patch-ac) = 8840c6d810d6b6ed299d5ea09fc9ca5874ab0e26 +SHA1 (patch-ad) = a25b3cbb8b6833a059d3ce0cf2b5c738e2cef1c9 diff --git a/net/httping/patches/patch-ad b/net/httping/patches/patch-ad new file mode 100644 index 00000000000..4fffa69e7de --- /dev/null +++ b/net/httping/patches/patch-ad @@ -0,0 +1,20 @@ +$NetBSD: patch-ad,v 1.1 2007/12/27 15:45:19 joerg Exp $ + +--- mem.c.orig 2007-12-27 14:00:35.000000000 +0000 ++++ mem.c +@@ -1,6 +1,7 @@ + /* (C) 2007 by folkert@vanheusden.com + * The GPL (GNU public license) applies to this sourcecode. + */ ++#include + #include + #include + #include +@@ -8,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + -- cgit v1.2.3