linux-2.6.12.6-gcc4_sparc_fix-1.patch is rejected

Frans Verstegen frans_verstegen at yahoo.fr
Fri Oct 14 05:17:36 PDT 2005


*patch output*
linux-2.6.12.6/usr/
linux-2.6.12.6/usr/Makefile
linux-2.6.12.6/usr/gen_init_cpio.c
linux-2.6.12.6/usr/initramfs_data.S
++ cd /mnt/LFS-6/build/linux-2.6.12.6
++ patch -N -p1 -i
/mnt/LFS-6/sources/linux-2.6.12.6-gcc4_sparc_fix-1.patch
patching file drivers/sbus/char/bbc_envctrl.c
Hunk #1 FAILED at 13.
1 out of 1 hunk FAILED -- saving rejects to file
drivers/sbus/char/bbc_envctrl.c.rej

*patch looks for this:*
@@ -13,7 +13,6 @@
 #include <linux/delay.h>
 #include <asm/oplib.h>
 #include <asm/ebus.h>
-static int errno;
 #include <asm/unistd.h>
 
 #include "bbc_i2c.h"

*and finds:*
#include <linux/delay.h>
#include <asm/oplib.h>
#include <asm/ebus.h>
#define __KERNEL_SYSCALLS__
static int errno;
#include <asm/unistd.h>

#include "bbc_i2c.h"

Clearly because of the #define __KERNEL_SYSCALLS__ line.
Do we still need the patch ?
Frans


	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



More information about the lfs-dev mailing list