Skip to contentSkip to conversation

Could use some help with this one

PATCH New Martin Banky 2 participants 3 messages Oct 5, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

cover Could use some help with this one

I've converted and bumped mrouted, but can't get it to build properly. I was hoping that someone could take a look and see what I'm doing wrong. Also, is anyone using this package?

Martin

[PATCH 1/1] mrouted: convet to gentargets and bump to version 3.9.2

#1 lore raw

PATCH 1/1 mrouted: convet to gentargets and bump to version 3.9.2

mrouted is once again being actively developed.
See http://github.com/troglobit/mrouted

---
 package/mrouted/Config.in                          |    2 +-
 .../mrouted-3.9-beta3-bcopy_bcmp_bzero.patch       |  164 --------------------
 package/mrouted/mrouted-3.9.2-bcopy.patch          |   20 +++
 package/mrouted/mrouted-3.9.2-makefile-flags.patch |   62 ++++++++
 package/mrouted/mrouted-sys_errlist.patch          |   44 ------
 package/mrouted/mrouted.mk                         |   59 ++-----
 6 files changed, 99 insertions(+), 252 deletions(-)
 delete mode 100644 package/mrouted/mrouted-3.9-beta3-bcopy_bcmp_bzero.patch
 create mode 100644 package/mrouted/mrouted-3.9.2-bcopy.patch
 create mode 100644 package/mrouted/mrouted-3.9.2-makefile-flags.patch
 delete mode 100644 package/mrouted/mrouted-sys_errlist.patch
package/mrouted/Config.in +1 -1
index df3c567..ed5852b 100644
@@ -3,4 +3,4 @@ config BR2_PACKAGE_MROUTED
 	help
 	  An implementation of the DVMRP multicast routing protocol.
 
-	  http://freshmeat.net/projects/mrouted/
+	  http://github.com/troglobit/mrouted
package/mrouted/mrouted-3.9-beta3-bcopy_bcmp_bzero.patch deleted +0 -164

164 lines not on this page · raw message

package/mrouted/mrouted-3.9.2-bcopy.patch new file +20 -0
new file mode 100644
index 0000000..d20e4df
@@ -0,0 +1,20 @@
+--- troglobit-mrouted-b192f82/mtrace.c-orig	2010-08-20 11:27:26.000000000 -0700
++++ troglobit-mrouted-b192f82/mtrace.c	2010-10-02 22:34:17.000000000 -0700
+@@ -558,7 +558,7 @@ int send_recv(u_int32_t dst, int type, i
+ 		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 *)&save->igmp, (char *)igmp, ipdatalen)
+ 	    }
+ 	    return recvlen;
+ 	}
+@@ -651,6 +651,8 @@ void passive_mode(void)
+ 	    (tr.tv_usec << 10) / 15625;
+ 	base.len = len;
+ 	bcopy((char *)igmp, (char *)&base.igmp, ipdatalen);
++	memmove((char *)&base.igmp, (char *)igmp, ipdatalen)
++
+ 	/*
+ 	 * If the user specified which traces to monitor,
+ 	 * only accept traces that correspond to the
package/mrouted/mrouted-3.9.2-makefile-flags.patch new file +62 -0

62 lines not on this page · raw message

package/mrouted/mrouted-sys_errlist.patch deleted +0 -44

44 lines not on this page · raw message

package/mrouted/mrouted.mk +16 -43

68 lines not on this page · raw message

Signature · 1 line
1.7.3.1
#2 lore raw

PATCH 1/1 mrouted: convet to gentargets and bump to version 3.9.2

Quoted 2 lines · On Tue, 5 Oct 2010 15:45:52 -0700 Martin Banky <[email protected]> wrote:

mrouted is once again being actively developed.
See http://github.com/troglobit/mrouted

Thanks, merged in one of my branch and bumped to 3.9.4 with some fixes.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com