daemon123 thanks,
I renamed the patch, deleted it's content & repasted your posted patch. git status shows only that file is changed in the OpenWRT repo.
I cleaned (make dirclean)
I have reset to the default config (make defconfig)
Made a new kernel config (make kernel_menuconfig) it fails, this is the output…
Applying patch platform/950-board_fast2304.patch
patching file arch/mips/bcm63xx/boards/board_bcm963xx.c
Hunk #1 succeeded at 858 with fuzz 2.
Hunk #2 FAILED at 5372.
1 out of 2 hunks FAILED -- rejects in file arch/mips/bcm63xx/boards/board_bcm963xx.c
Patch platform/950-board_fast2304.patch does not apply (enforce with -f)
make[2]: *** [/home/ladmin/buildroot/openwrt-14.07/openwrt/build_dir/target-mips_mips32_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.10.49/.quilt_checked] Error 1
make[2]: Leaving directory `/home/ladmin/buildroot/openwrt-14.07/openwrt/target/linux/brcm63xx'
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory `/home/ladmin/buildroot/openwrt-14.07/openwrt/target/linux'
make: *** [kernel_menuconfig] Error 2
When I manually patch the line numbers do not tally correctly, I have to adjust the points where I insert your changes. Do you want compare the source file or git log messages?
git log shows this for me as the last commit - are we on the same version?
commit 878af3117f68c2f8d6b3d6582e50c6cef521f6f7
Author: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu Feb 26 21:29:57 2015 +0000
BB: ubox: fix segmentation fault in insmod
(Last edited by das_robot on 8 Mar 2015, 22:22)