diff options
Diffstat (limited to 'media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch')
-rw-r--r-- | media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch b/media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch new file mode 100644 index 000000000000..3e0c3067a310 --- /dev/null +++ b/media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/670020 + +--- a/src/FbiStuffJpeg.cpp ++++ b/src/FbiStuffJpeg.cpp +@@ -115,7 +115,7 @@ + cinfo->src->bytes_in_buffer = h->tsize; + }*/ + +-static int thumbnail_src_fill(struct jpeg_decompress_struct *cinfo) ++static boolean thumbnail_src_fill(struct jpeg_decompress_struct *cinfo) + { + FIM_FBI_PRINTF("jpeg: panic: no more thumbnail input data\n"); + exit(1); +--- a/src/FramebufferDevice.h ++++ b/src/FramebufferDevice.h +@@ -37,8 +37,8 @@ + #include "DisplayDevice.h" + + /* these are required by FbiStuffJpeg.cpp */ +-#define FIM_FBI_TRUE 1 +-#define FIM_FBI_FALSE 0 ++#define FIM_FBI_TRUE TRUE ++#define FIM_FBI_FALSE FALSE + + #ifndef FIM_WITH_NO_FRAMEBUFFER + |