Blame webkit-jpeg-boolean-fix.patch

aba5819
--- ./WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp.orig	2010-11-07 12:09:27.209820788 +0100
aba5819
+++ ./WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp	2010-11-07 12:10:47.274135534 +0100
aba5819
@@ -41,7 +41,7 @@
aba5819
 #include "JPEGImageDecoder.h"
aba5819
 #include <stdio.h>  // Needed by jpeglib.h for FILE.
aba5819
 
aba5819
-#if OS(WINCE) || PLATFORM(BREWMP_SIMULATOR)
aba5819
+#if OS(WINCE) || PLATFORM(BREWMP_SIMULATOR) || PLATFORM(GTK)
aba5819
 // Remove warning: 'FAR' macro redefinition
aba5819
 #undef FAR
aba5819
 
aba5819
@@ -74,7 +74,7 @@
aba5819
 };
aba5819
 
aba5819
 void init_source(j_decompress_ptr jd);
aba5819
-boolean fill_input_buffer(j_decompress_ptr jd);
aba5819
+jpeg_boolean fill_input_buffer(j_decompress_ptr jd);
aba5819
 void skip_input_data(j_decompress_ptr jd, long num_bytes);
aba5819
 void term_source(j_decompress_ptr jd);
aba5819
 void error_exit(j_common_ptr cinfo);
aba5819
@@ -358,7 +358,7 @@
aba5819
     src->decoder->skipBytes(num_bytes);
aba5819
 }
aba5819
 
aba5819
-boolean fill_input_buffer(j_decompress_ptr jd)
aba5819
+jpeg_boolean fill_input_buffer(j_decompress_ptr jd)
aba5819
 {
aba5819
     // Our decode step always sets things up properly, so if this method is ever
aba5819
     // called, then we have hit the end of the buffer.  A return value of false