diff options
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, 0 insertions, 19 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 deleted file mode 100644 index f7e8cf80d6c4..000000000000 --- a/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch +++ /dev/null @@ -1,19 +0,0 @@ -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)); - |