View Single Post
  #1   (View Single Post)  
Old 4th February 2013
SA000 SA000 is offline
New User
Join Date: Feb 2013
Posts: 1
Exclamation Need to test new patch of Ethernet Switch Framework


I saw a report that covers FreeBSD-related projects between October and December 2010 and I observe that it have new patch for Ethernet Switch Framework, I have also seen a little bit inside the code of patch(

I downloaded fresh code of FreeBSD v9 and apply command
git apply switch-1.diff
but it shows me these errors:

HTML Code:
switch.diff:397: trailing whitespace.
		printf("\tphy %d ", ifmr.ifm_phy); 
switch.diff:445: trailing whitespace.
	printb("options", ifswr.ifsw_flags, IFSWBITS); 
switch.diff:486: trailing whitespace.
	printf("\tvlans: "); 
switch.diff:869: trailing whitespace.
switch.diff:1826: trailing whitespace.
warning: sbin/ifconfig/Makefile has type 100755, expected 100644
error: patch failed: sbin/ifconfig/Makefile:23
error: sbin/ifconfig/Makefile: patch does not apply
error: patch failed: sys/mips/atheros/ar71xx_machdep.c:144
error: sys/mips/atheros/ar71xx_machdep.c: patch does not apply
error: patch failed: sys/mips/atheros/if_arge.c:565
error: sys/mips/atheros/if_arge.c: patch does not apply
I am very interested to test this patch, can anyone help me out to do this...

Reply With Quote