diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-06-14 21:34:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-06-14 21:34:20 +0000 |
commit | 791b150d561bd5b5984ced0970b6878425bfd9d8 (patch) | |
tree | 3050ff82778bda5070b41701acdf0cf03cc58b0a /media-libs/netpbm/files/netpbm-10.66-jbig-2.patch | |
parent | Drop old. (diff) | |
download | gentoo-2-791b150d561bd5b5984ced0970b6878425bfd9d8.tar.gz gentoo-2-791b150d561bd5b5984ced0970b6878425bfd9d8.tar.bz2 gentoo-2-791b150d561bd5b5984ced0970b6878425bfd9d8.zip |
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'media-libs/netpbm/files/netpbm-10.66-jbig-2.patch')
-rw-r--r-- | media-libs/netpbm/files/netpbm-10.66-jbig-2.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch b/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch new file mode 100644 index 000000000000..f7e8cf80d6c4 --- /dev/null +++ b/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch @@ -0,0 +1,19 @@ +fix building w/jbig-2.x + +--- a/converter/other/jbig/jbigtopnm.c ++++ b/converter/other/jbig/jbigtopnm.c +@@ -230,8 +230,12 @@ int main (int argc, char **argv) + if (ferror(fin)) + pm_error("Problem while reading input file '%s", fnin); + if (result != JBG_EOK && result != JBG_EOK_INTR) +- pm_error("Problem with input file '%s': %s\n", +- fnin, jbg_strerror(result, JBG_EN)); ++ pm_error("Problem with input file '%s': %s\n", fnin, ++#ifdef JBG_EN ++ jbg_strerror(result, JBG_EN)); ++#else ++ jbg_strerror(result)); ++#endif + if (plane >= 0 && jbg_dec_getplanes(&s) <= plane) + pm_error("Image has only %d planes!\n", jbg_dec_getplanes(&s)); + |