diff options
author | joerg <joerg@pkgsrc.org> | 2007-12-27 15:45:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-12-27 15:45:19 +0000 |
commit | 4195907ee7393313f734981e2ce69142ac318402 (patch) | |
tree | 836be793e989f87c6880dae9af67169d8811b817 /net/httping | |
parent | 7dc753f91ae014187f8e8a0ab2a19bf2327d3075 (diff) | |
download | pkgsrc-4195907ee7393313f734981e2ce69142ac318402.tar.gz |
Fix build on DragonFly.
Diffstat (limited to 'net/httping')
-rw-r--r-- | net/httping/Makefile | 5 | ||||
-rw-r--r-- | net/httping/distinfo | 3 | ||||
-rw-r--r-- | net/httping/patches/patch-ad | 20 |
3 files changed, 25 insertions, 3 deletions
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 <sys/types.h> + #include <errno.h> + #include <regex.h> + #include <signal.h> +@@ -8,7 +9,6 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <sys/types.h> + #include <time.h> + #include <unistd.h> + |