summaryrefslogtreecommitdiffstats
path: root/package/netperf/netperf-2.4.5-dccp.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-01-26 13:51:24 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-26 22:22:03 +0100
commit9b22dc764d7708a241900ea728278f114b014b72 (patch)
tree2281b6e6900cc5b37433dbff1f48cf93947766a1 /package/netperf/netperf-2.4.5-dccp.patch
parent362281b466a44b37fc088632e390e39e3beaa808 (diff)
downloadbuildroot-novena-9b22dc764d7708a241900ea728278f114b014b72.tar.gz
buildroot-novena-9b22dc764d7708a241900ea728278f114b014b72.zip
netperf: bump to version 2.5.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/netperf/netperf-2.4.5-dccp.patch')
-rw-r--r--package/netperf/netperf-2.4.5-dccp.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/package/netperf/netperf-2.4.5-dccp.patch b/package/netperf/netperf-2.4.5-dccp.patch
deleted file mode 100644
index ae84cee6d..000000000
--- a/package/netperf/netperf-2.4.5-dccp.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-[PATCH] fix build on systems where IPROTO_DCCP is defined, but SOCK_DCCP isn't
-
-On some systems (E.G. uClibc 0.9.31) IPROTO_DCCP is defined, but SOCK_DCCP
-isn't - Causing the build to break. Fix it by checking for both before
-using.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- src/netsh.c | 2 +-
- src/nettest_bsd.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-Index: netperf-2.4.5/src/netsh.c
-===================================================================
---- netperf-2.4.5.orig/src/netsh.c
-+++ netperf-2.4.5/src/netsh.c
-@@ -452,7 +452,7 @@ parse_protocol(char protocol_string[])
- return IPPROTO_SDP;
- }
- #endif
--#ifdef IPPROTO_DCCP
-+#if defined(IPPROTO_DCCP) && defined(SOCK_DCCP)
- if (!strcasecmp(temp,"dccp")) {
- socket_type = SOCK_DCCP;
- return IPPROTO_DCCP;
-Index: netperf-2.4.5/src/nettest_bsd.c
-===================================================================
---- netperf-2.4.5.orig/src/nettest_bsd.c
-+++ netperf-2.4.5/src/nettest_bsd.c
-@@ -712,7 +712,7 @@ complete_addrinfo(char *controlhost, cha
- that we did this so the code for the Solaris kludge can do
- the fix-up for us. also flip error over to EAI_AGAIN and
- make sure we don't "count" this time around the loop. */
--#if defined(IPPROTO_DCCP)
-+#if defined(IPPROTO_DCCP) && defined(SOCK_DCCP)
- /* only tweak on this one the second time around, after we've
- kludged the ai_protocol field */
- if ((hints.ai_socktype == SOCK_DCCP) &&