pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/nttcp make this build on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8e6cd832ef6
branches:  trunk
changeset: 474754:a8e6cd832ef6
user:      danw <danw%pkgsrc.org@localhost>
date:      Wed May 05 00:46:45 2004 +0000

description:
make this build on Darwin

diffstat:

 benchmarks/nttcp/distinfo         |   5 +++--
 benchmarks/nttcp/patches/patch-ab |   4 ++--
 benchmarks/nttcp/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 21 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 1c6c68c6161f -r a8e6cd832ef6 benchmarks/nttcp/distinfo
--- a/benchmarks/nttcp/distinfo Wed May 05 00:43:10 2004 +0000
+++ b/benchmarks/nttcp/distinfo Wed May 05 00:46:45 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/11/25 22:42:30 dmcmahill Exp $
+$NetBSD: distinfo,v 1.5 2004/05/05 00:46:45 danw Exp $
 
 SHA1 (nttcp-1.47.tar.gz) = 28de7d65074e7546babdfa42b3b88fd8baa2be88
 Size (nttcp-1.47.tar.gz) = 25693 bytes
 SHA1 (patch-aa) = 98f93947b4d1e650ad371756463377a7c54704a3
-SHA1 (patch-ab) = f684e6de0fa6df8f28a6372d5dd0bf8e1eee896f
+SHA1 (patch-ab) = a8e43a180e3042fba1d9aaf7a98c079519c7d7a5
+SHA1 (patch-ac) = 5e7d4e81311c37187f72ff0ca54601c07fb90f17
diff -r 1c6c68c6161f -r a8e6cd832ef6 benchmarks/nttcp/patches/patch-ab
--- a/benchmarks/nttcp/patches/patch-ab Wed May 05 00:43:10 2004 +0000
+++ b/benchmarks/nttcp/patches/patch-ab Wed May 05 00:46:45 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2002/08/21 06:36:35 simonb Exp $
+$NetBSD: patch-ab,v 1.2 2004/05/05 00:46:45 danw Exp $
 
 --- nttcp.c.orig       Mon Dec 18 21:16:54 2000
 +++ nttcp.c
@@ -7,7 +7,7 @@
  
  /*====================================================================*/
 -#if defined(FreeBSD)
-+#if defined(FreeBSD) || defined(__NetBSD__)
++#ifndef SIGCLD
  #define       SIGCLD  SIGCHLD
  #endif /*FreeBSD*/
  
diff -r 1c6c68c6161f -r a8e6cd832ef6 benchmarks/nttcp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/nttcp/patches/patch-ac Wed May 05 00:46:45 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/05/05 00:46:45 danw Exp $
+
+--- support.c.orig     Sun May  2 21:35:48 2004
++++ support.c
+@@ -18,11 +18,7 @@
+  *                    bartel%informatik.tu-muenchen.de@localhost
+  */
+ #include <string.h>
+-#if defined(FreeBSD)
+ #include <stdlib.h>
+-#else
+-#include <malloc.h>
+-#endif /*FreeBSD*/
+ #include "support.h"
+ 
+ /* Pad the string to size from right with character pad.



Home | Main Index | Thread Index | Old Index