openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / fltk / 0002-jpeg-9.patch
blob11ae85ee280575f8c0b058a2ac86cf143fb3a126
1 From http://www.fltk.org/str.php?L2920
2 However it's not yet applied apparently until bundled jpeg is upgraded.
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
6 diff -Nura fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx fltk-1.3.2/src/Fl_JPEG_Image.cxx
7 --- fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:27.731197463 -0300
8 +++ fltk-1.3.2/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:57.907218257 -0300
9 @@ -155,7 +155,7 @@
11 jpeg_create_decompress(&dinfo);
12 jpeg_stdio_src(&dinfo, fp);
13 - jpeg_read_header(&dinfo, 1);
14 + jpeg_read_header(&dinfo, TRUE);
16 dinfo.quantize_colors = (boolean)FALSE;
17 dinfo.out_color_space = JCS_RGB;
18 @@ -333,7 +333,7 @@
20 jpeg_create_decompress(&dinfo);
21 jpeg_mem_src(&dinfo, data);
22 - jpeg_read_header(&dinfo, 1);
23 + jpeg_read_header(&dinfo, TRUE);
25 dinfo.quantize_colors = (boolean)FALSE;
26 dinfo.out_color_space = JCS_RGB;