summaryrefslogtreecommitdiff
path: root/packages/netpbm/netpbm-10.28
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-04 20:49:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-04 20:49:01 +0000
commitf1feb68bbda3acaeedbf289d31d46ac0942b8856 (patch)
tree710715e667093f2fe8fda7aad62438dafce2eead /packages/netpbm/netpbm-10.28
parent194e9823419ad76b29d14edb3733c18009fe3311 (diff)
netpbm: Fix perl RDEPENDS, make ppmtojpeg work (disabled by default because
the target of the link, pnmtojpeg, may not exist)
Diffstat (limited to 'packages/netpbm/netpbm-10.28')
-rw-r--r--packages/netpbm/netpbm-10.28/ppmtojpeg.patch17
1 files changed, 17 insertions, 0 deletions
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);