From f1feb68bbda3acaeedbf289d31d46ac0942b8856 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 4 Aug 2005 20:49:01 +0000 Subject: netpbm: Fix perl RDEPENDS, make ppmtojpeg work (disabled by default because the target of the link, pnmtojpeg, may not exist) --- packages/netpbm/netpbm-10.28/ppmtojpeg.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/netpbm/netpbm-10.28/ppmtojpeg.patch (limited to 'packages/netpbm/netpbm-10.28') diff --git a/packages/netpbm/netpbm-10.28/ppmtojpeg.patch b/packages/netpbm/netpbm-10.28/ppmtojpeg.patch new file mode 100644 index 0000000000..39df5edbea --- /dev/null +++ b/packages/netpbm/netpbm-10.28/ppmtojpeg.patch @@ -0,0 +1,17 @@ +# 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 +@@ -62,8 +62,11 @@ + which would know whether pnmtojpeg was built into the merged binary + or not. But that's too much work. + +- TRY("ppmtojpeg", main_pnmtojpeg); ++ * Patched for OE because OE builds the jpeg library (always) and the ++ * subdirectory creates the link anyway, so otherwise we have a bogus ++ * link. + */ ++ TRY("ppmtojpeg", main_pnmtojpeg); + TRY("bmptoppm", main_bmptopnm); + TRY("pgmnorm", main_pnmnorm); + TRY("ppmnorm", main_pnmnorm); -- cgit v1.2.3