pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/netperf/patches Remove patches that were no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7179a62a3fe7
branches:  trunk
changeset: 576198:7179a62a3fe7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 03 09:33:23 2010 +0000

description:
Remove patches that were not in distinfo after 2.4.5 update.

diffstat:

 benchmarks/netperf/patches/patch-ab |  16 ----------
 benchmarks/netperf/patches/patch-ac |  13 --------
 benchmarks/netperf/patches/patch-ad |  16 ----------
 benchmarks/netperf/patches/patch-ae |  16 ----------
 benchmarks/netperf/patches/patch-af |  16 ----------
 benchmarks/netperf/patches/patch-ag |  13 --------
 benchmarks/netperf/patches/patch-ai |  56 -------------------------------------
 7 files changed, 0 insertions(+), 146 deletions(-)

diffs (174 lines):

diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ab
--- a/benchmarks/netperf/patches/patch-ab       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2007/08/08 20:30:13 joerg Exp $
-
---- nettest_bsd.c.orig 2007-08-08 20:05:44.000000000 +0000
-+++ nettest_bsd.c
-@@ -50,11 +50,7 @@ char        nettest_id[]="\
- #include <stdio.h>
- #include <string.h>
- #include <time.h>
--#ifdef NOSTDLIBH
--#include <malloc.h>
--#else /* NOSTDLIBH */
- #include <stdlib.h>
--#endif /* NOSTDLIBH */
- 
- #ifndef WIN32
- #include <sys/time.h>
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ac
--- a/benchmarks/netperf/patches/patch-ac       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/08/08 20:30:13 joerg Exp $
-
---- nettest_dlpi.c.orig        2007-08-08 20:05:40.000000000 +0000
-+++ nettest_dlpi.c
-@@ -31,7 +31,7 @@ char nettest_dlpi_id[]="\
- #include <stdio.h>
- #include <string.h>
- #include <time.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <sys/stream.h>
- #include <sys/stropts.h>
- #include <sys/poll.h>
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ad
--- a/benchmarks/netperf/patches/patch-ad       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2007/08/08 20:30:14 joerg Exp $
-
---- nettest_dns.c.orig 2007-08-08 20:05:37.000000000 +0000
-+++ nettest_dns.c
-@@ -41,11 +41,7 @@ char        nettest_dns_id[]="\
- #include <stdio.h>
- #include <string.h>
- #include <time.h>
--#ifdef NOSTDLIBH
--#include <malloc.h>
--#else /* NOSTDLIBH */
- #include <stdlib.h>
--#endif /* NOSTDLIBH */
- 
- #ifndef WIN32
- #include <sys/ipc.h>
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ae
--- a/benchmarks/netperf/patches/patch-ae       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2007/08/08 20:30:14 joerg Exp $
-
---- nettest_ipv6.c.orig        2007-08-08 20:05:35.000000000 +0000
-+++ nettest_ipv6.c
-@@ -55,11 +55,7 @@ char        nettest_ipv6_id[]="\
- #endif /* WIN32 */
- #include <stdio.h>
- #include <string.h>
--#ifdef NOSTDLIBH
--#include <malloc.h>
--#else /* NOSTDLIBH */
- #include <stdlib.h>
--#endif /* NOSTDLIBH */
- 
- #include "netlib.h"
- #include "netsh.h"
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-af
--- a/benchmarks/netperf/patches/patch-af       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-af,v 1.1 2007/08/08 20:30:14 joerg Exp $
-
---- nettest_unix.c.orig        2007-08-08 20:05:27.000000000 +0000
-+++ nettest_unix.c
-@@ -52,11 +52,6 @@ char        nettest_unix_id[]="\
- #include <string.h>
- #include <time.h>
- #include <sys/time.h>
--#if ! defined(__bsdi__) && ! defined(_APPLE_)
--#include <malloc.h>
--#else
--#include <sys/malloc.h>
--#endif
-      
- #include "netlib.h"
- #include "netsh.h"
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ag
--- a/benchmarks/netperf/patches/patch-ag       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2007/08/08 20:30:14 joerg Exp $
-
---- nettest_xti.c.orig 2007-08-08 20:05:32.000000000 +0000
-+++ nettest_xti.c
-@@ -49,7 +49,7 @@ char nettest_xti_id[]="\
- #endif /* WIN32 */
- #include <stdio.h>
- #include <time.h>
--#include <malloc.h>
-+#include <stdlib.h>
-  /* xti.h should be included *after* in.h because there are name */
-  /* conflicts!( Silly standards people... raj 2/95 fortuenately, the */
-  /* confilcts are on IP_TOP and IP_TTL, whcih netperf does not yet use */
diff -r 99e52de9f228 -r 7179a62a3fe7 benchmarks/netperf/patches/patch-ai
--- a/benchmarks/netperf/patches/patch-ai       Thu Jun 03 09:26:35 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2008/05/12 15:49:30 tonnerre Exp $
-
---- netserver.c.orig   2004-09-21 23:33:40.000000000 +0200
-+++ netserver.c
-@@ -138,6 +138,9 @@ FILE       *afp;
- short listen_port_num;
- extern        char    *optarg;
- extern        int     optind, opterr;
-+#ifndef WIN32
-+char debuglog[] = "/tmp/netperf.debugXXXXXX";
-+#endif
- 
- #ifndef WIN32
- #define SERVER_ARGS "dn:p:v:46"
-@@ -181,8 +184,14 @@ process_requests()
-       netperf_response.content.response_type = DEBUG_OK;
-       send_response();
-         //+*+SAF why???
--        if (!debug) 
-+        if (!debug)
-+        {
-             fclose(where);
-+#ifndef WIN32
-+            unlink(debuglog);
-+            close(fd);
-+#endif
-+        }
-       break;
-       
-     case CPU_CALIBRATE:
-@@ -730,7 +739,13 @@ struct sockaddr name;
- 
- /*  unlink(DEBUG_LOG_FILE); */
- #ifndef WIN32
--  if ((where = fopen(DEBUG_LOG_FILE, "w")) == NULL) {
-+  if ((fd = mkstemp(debuglog)) == -1 || (where = fdopen(fd, "w+")) == NULL)
-+  {
-+    if (fd != -1)
-+    {
-+      unlink(debuglog);
-+      close(fd);
-+    }
-     perror("netserver: debug file");
-     exit(1);
-   }
-@@ -761,10 +776,6 @@ struct sockaddr name;
-   }
- #endif
-  
--#ifndef WIN32 
--  chmod(DEBUG_LOG_FILE,0644);
--#endif
--  
- #if WIN32
-   if (child) {
-         server_sock = (SOCKET)GetStdHandle(STD_INPUT_HANDLE);



Home | Main Index | Thread Index | Old Index