]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/netpbm/netpbm-10.28/ppmtojpeg.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / netpbm / netpbm-10.28 / ppmtojpeg.patch
1 # This patch makes the /usr/bin/ppmtojpeg work on OE.
2
3 --- netpbm-10.28/netpbm.c.orig  2005-08-04 13:20:15.665273549 -0700
4 +++ netpbm-10.28/netpbm.c       2005-08-04 13:21:09.288647855 -0700
5 @@ -62,8 +62,11 @@
6         which would know whether pnmtojpeg was built into the merged binary
7         or not.  But that's too much work.
8  
9 -    TRY("ppmtojpeg", main_pnmtojpeg); 
10 +     * Patched for OE because OE builds the jpeg library (always) and the
11 +     * subdirectory creates the link anyway, so otherwise we have a bogus
12 +     * link.
13      */
14 +    TRY("ppmtojpeg", main_pnmtojpeg); 
15      TRY("bmptoppm", main_bmptopnm);
16      TRY("pgmnorm", main_pnmnorm);
17      TRY("ppmnorm", main_pnmnorm);