You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/fim/files/fim-0.5_rc3-jpeg-9c.patch

27 lines
723 B

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