diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-07-03 13:01:45 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-07-03 21:48:52 +0200 |
commit | d13402248bd8f19b4fc5a2f6c8be0097dbd30b6d (patch) | |
tree | 76f454234d3cae0c8176071fa7b8cc839e33946f | |
parent | 0fb53252afa7776960e0673f9d9ac6f926f9eebc (diff) |
fltk: fix build failure with newer jpeg libraries
Fixes:
http://autobuild.buildroot.net/results/978/9786ab41117fbe760e4e8ae40ccf37af55813728/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/fltk/fltk-02-jpeg-9.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/fltk/fltk-02-jpeg-9.patch b/package/fltk/fltk-02-jpeg-9.patch new file mode 100644 index 000000000..11ae85ee2 --- /dev/null +++ b/package/fltk/fltk-02-jpeg-9.patch @@ -0,0 +1,26 @@ +From http://www.fltk.org/str.php?L2920 +However it's not yet applied apparently until bundled jpeg is upgraded. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> + +diff -Nura fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx fltk-1.3.2/src/Fl_JPEG_Image.cxx +--- fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:27.731197463 -0300 ++++ fltk-1.3.2/src/Fl_JPEG_Image.cxx 2014-07-03 12:56:57.907218257 -0300 +@@ -155,7 +155,7 @@ + + jpeg_create_decompress(&dinfo); + jpeg_stdio_src(&dinfo, fp); +- jpeg_read_header(&dinfo, 1); ++ jpeg_read_header(&dinfo, TRUE); + + dinfo.quantize_colors = (boolean)FALSE; + dinfo.out_color_space = JCS_RGB; +@@ -333,7 +333,7 @@ + + jpeg_create_decompress(&dinfo); + jpeg_mem_src(&dinfo, data); +- jpeg_read_header(&dinfo, 1); ++ jpeg_read_header(&dinfo, TRUE); + + dinfo.quantize_colors = (boolean)FALSE; + dinfo.out_color_space = JCS_RGB; |