summaryrefslogtreecommitdiffstats
path: root/package/ttcp/ttcp-bcopy.patch
diff options
context:
space:
mode:
authorArnaud Aujon <arnaud.aujon@gmail.com>2013-11-17 16:34:00 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-11-18 21:59:12 +0100
commitf078a8bc9502b9a6bb1ed81ad15f4b6b0ba156db (patch)
treebf04c119af207c1ac6090ed9a1449af4a080fc77 /package/ttcp/ttcp-bcopy.patch
parent6b8aa1120594713c10301b6316fb40070d2fe59d (diff)
downloadbuildroot-f078a8bc9502b9a6bb1ed81ad15f4b6b0ba156db.tar.gz
buildroot-f078a8bc9502b9a6bb1ed81ad15f4b6b0ba156db.zip
ttcp: fix url, rename patch
- fix download url : isn't available on previous ftp, use an other one instead - add version according to source code version - rename and clean patch according to patch policy [Peter: adjust upstream URL in Config.in] Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ttcp/ttcp-bcopy.patch')
-rw-r--r--package/ttcp/ttcp-bcopy.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/ttcp/ttcp-bcopy.patch b/package/ttcp/ttcp-bcopy.patch
deleted file mode 100644
index c98c88f360..0000000000
--- a/package/ttcp/ttcp-bcopy.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN ttcp-0rig/ttcp.c ttcp/ttcp.c
---- ttcp-0rig/ttcp.c 1993-05-17 00:00:00.000000000 +0200
-+++ ttcp/ttcp.c 2009-01-14 23:46:19.000000000 +0100
-@@ -241,7 +241,7 @@
- if ((addr=gethostbyname(host)) == NULL)
- err("bad hostname");
- sinhim.sin_family = addr->h_addrtype;
-- bcopy(addr->h_addr,(char*)&addr_tmp, addr->h_length);
-+ memmove((char*)&addr_tmp, addr->h_addr, addr->h_length);
- #if defined(cray)
- sinhim.sin_addr = addr_tmp;
- #else
OpenPOWER on IntegriCloud