summaryrefslogtreecommitdiffstats
path: root/package/mrouted/mrouted-3.9.4-bcopy.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-12-12 22:53:49 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-13 23:24:14 +0100
commit690df505864e45457dec3f5f1d0198705605faa9 (patch)
treed08d17965bfb6acf4a216bc68a028cf768acb83c /package/mrouted/mrouted-3.9.4-bcopy.patch
parent9962388776d4250451d64001335440c38975ac47 (diff)
downloadbuildroot-novena-690df505864e45457dec3f5f1d0198705605faa9.tar.gz
buildroot-novena-690df505864e45457dec3f5f1d0198705605faa9.zip
mrouted: convet to gentargets and bump to version 3.9.4
mrouted is once again being actively developed. See http://github.com/troglobit/mrouted [ Thomas: bump to 3.9.4, patches updated, prefix fix. ] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mrouted/mrouted-3.9.4-bcopy.patch')
-rw-r--r--package/mrouted/mrouted-3.9.4-bcopy.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/mrouted/mrouted-3.9.4-bcopy.patch b/package/mrouted/mrouted-3.9.4-bcopy.patch
new file mode 100644
index 000000000..73f8acccb
--- /dev/null
+++ b/package/mrouted/mrouted-3.9.4-bcopy.patch
@@ -0,0 +1,26 @@
+---
+ mtrace.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: mrouted-3.9.4/mtrace.c
+===================================================================
+--- mrouted-3.9.4.orig/mtrace.c
++++ mrouted-3.9.4/mtrace.c
+@@ -556,7 +556,7 @@
+ save->rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ (tr.tv_usec << 10) / 15625;
+ save->len = len;
+- bcopy((char *)igmp, (char *)&save->igmp, ipdatalen);
++ memmove((char *)igmp, (char *)&save->igmp, ipdatalen);
+ }
+ return recvlen;
+ }
+@@ -646,7 +646,7 @@
+ base.rtime = ((tr.tv_sec + JAN_1970) << 16) +
+ (tr.tv_usec << 10) / 15625;
+ base.len = len;
+- bcopy((char *)igmp, (char *)&base.igmp, ipdatalen);
++ memmove((char *)igmp, (char *)&base.igmp, ipdatalen);
+ /*
+ * If the user specified which traces to monitor,
+ * only accept traces that correspond to the