pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/httping Fix build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b80914a898df
branches:  trunk
changeset: 536882:b80914a898df
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 15:45:19 2007 +0000

description:
Fix build on DragonFly.

diffstat:

 net/httping/Makefile         |   5 +++--
 net/httping/distinfo         |   3 ++-
 net/httping/patches/patch-ad |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 9599c62453b9 -r b80914a898df net/httping/Makefile
--- a/net/httping/Makefile      Thu Dec 27 15:37:44 2007 +0000
+++ b/net/httping/Makefile      Thu Dec 27 15:45:19 2007 +0000
@@ -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 @@
 
 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 -r 9599c62453b9 -r b80914a898df net/httping/distinfo
--- a/net/httping/distinfo      Thu Dec 27 15:37:44 2007 +0000
+++ b/net/httping/distinfo      Thu Dec 27 15:45:19 2007 +0000
@@ -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 @@
 SHA1 (patch-aa) = 398c2b9a4152f2b4aaad85fc5829ae3b8f85d7fa
 SHA1 (patch-ab) = 28f13ce32299c6dab791ae411e58567500834c04
 SHA1 (patch-ac) = 8840c6d810d6b6ed299d5ea09fc9ca5874ab0e26
+SHA1 (patch-ad) = a25b3cbb8b6833a059d3ce0cf2b5c738e2cef1c9
diff -r 9599c62453b9 -r b80914a898df net/httping/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/httping/patches/patch-ad      Thu Dec 27 15:45:19 2007 +0000
@@ -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@localhost
+  * 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>
+ 



Home | Main Index | Thread Index | Old Index