summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-03 09:33:23 +0000
committerwiz <wiz>2010-06-03 09:33:23 +0000
commitea89087e0fc984c9e9d84dd6b00198b95da7d3e8 (patch)
tree56aacbf7f004a97b3a4c9fcbd66f5f31be34fddc /benchmarks
parent95988ea38d9946fb7edc9666fb0f2a75481668fd (diff)
downloadpkgsrc-ea89087e0fc984c9e9d84dd6b00198b95da7d3e8.tar.gz
Remove patches that were not in distinfo after 2.4.5 update.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/netperf/patches/patch-ab16
-rw-r--r--benchmarks/netperf/patches/patch-ac13
-rw-r--r--benchmarks/netperf/patches/patch-ad16
-rw-r--r--benchmarks/netperf/patches/patch-ae16
-rw-r--r--benchmarks/netperf/patches/patch-af16
-rw-r--r--benchmarks/netperf/patches/patch-ag13
-rw-r--r--benchmarks/netperf/patches/patch-ai56
7 files changed, 0 insertions, 146 deletions
diff --git a/benchmarks/netperf/patches/patch-ab b/benchmarks/netperf/patches/patch-ab
deleted file mode 100644
index 4c149392fe1..00000000000
--- a/benchmarks/netperf/patches/patch-ab
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-ac b/benchmarks/netperf/patches/patch-ac
deleted file mode 100644
index 7be14167b5e..00000000000
--- a/benchmarks/netperf/patches/patch-ac
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-ad b/benchmarks/netperf/patches/patch-ad
deleted file mode 100644
index 2fb1773776f..00000000000
--- a/benchmarks/netperf/patches/patch-ad
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-ae b/benchmarks/netperf/patches/patch-ae
deleted file mode 100644
index 37fcf4f4bd5..00000000000
--- a/benchmarks/netperf/patches/patch-ae
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-af b/benchmarks/netperf/patches/patch-af
deleted file mode 100644
index 64a74b49734..00000000000
--- a/benchmarks/netperf/patches/patch-af
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-ag b/benchmarks/netperf/patches/patch-ag
deleted file mode 100644
index a27f520d052..00000000000
--- a/benchmarks/netperf/patches/patch-ag
+++ /dev/null
@@ -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 --git a/benchmarks/netperf/patches/patch-ai b/benchmarks/netperf/patches/patch-ai
deleted file mode 100644
index 48e2f33f305..00000000000
--- a/benchmarks/netperf/patches/patch-ai
+++ /dev/null
@@ -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);