title: Buildroot - Applying A Patch Failed
body: <p>I'm trying to build a custom kernel image for my <a href="http://www.phidgets.com/products.php?category=19&amp;product_id=1070" rel="nofollow">PhidgetSBC</a> but I'm getting a failure during the build:</p>
  
  <blockquote>
    <p>bluez 4.96 Extracting</p>
    
    <p>bluez 4.96 Patching package/bluez</p>
    
    <p>for file in config.guess config.sub; do for i in $(find
    /home/kerubu/buildroot_phidgetsbc/new/buildroot-phidgetsbc_1.0.4.20111028/output/build/bluez-4.96
    -name $file); do cp package/gnuconfig/$file $i; done; done</p>
    
    <p>Patching libtool</p>
    
    <p>Applying buildroot-libtool.patch using plaintext:  patching file
    ltmain.sh</p>
    
    <p>Hunk #1 FAILED at 273.</p>
    
    <p>Hunk #2 succeeded at 5412 (offset 3005 lines).</p>
    
    <p>Hunk #3 FAILED at 2551.</p>
    
    <p>Hunk #4 FAILED at 2895.</p>
    
    <p>Hunk #5 succeeded at 8058 with fuzz 1 (offset 2446 lines).</p>
    
    <p>Hunk #6 FAILED at 5937.</p>
    
    <p>4 out of 6 hunks FAILED -- saving rejects to file ltmain.sh.rej</p>
    
    <p>Patch failed!  Please fix buildroot-libtool.patch!</p>
    
    <p>make: <em>*</em>
    [/home/kerubu/buildroot_phidgetsbc/new/buildroot-phidgetsbc_1.0.4.20111028/output/build/bluez-4.96/.stamp_patched]
    Error 1</p>
  </blockquote>
  
  <p>I'm not sure how to proceed from here. Does anyone have any advice?</p>