The reason the patch doesn't apply is just a whitespace issue

my quickfix was to edit the .bb to not include the patch and then uncomment
the line that the patch was supposed to uncomment by hand.

bitbake -c configure netpbm
vim ./tmp/work/arm*/netpbm/netpbm*/netpbm.c
# uncomment TRY(jpeg)
bitbake netpbm

AJ ONeal


On Wed, Oct 27, 2010 at 2:30 PM, AJ ONeal <[email protected]> wrote:

> Applying patch ppmtojpeg.patch
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |# This patch makes the /usr/bin/ppmtojpeg work on OE.
> |
> |--- netpbm-10.28/netpbm.c.orig 2005-08-04 13:20:15.665273549 -0700
> |+++ netpbm-10.28/netpbm.c      2005-08-04 13:21:09.288647855 -0700
> --------------------------
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
> Patch ppmtojpeg.patch does not apply (enforce with -f)
> ERROR: Task 1
> (/mnt/local/overo-coolaj86/org.openembedded.dev/recipes/netpbm/
> netpbm_10.28.bb, do_patch) failed
>
>
> AJ ONeal
>
>
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to