package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0
[buildroot-gz.git] / package / zbar / 0002-Fix-function-protoype-to-be-compatible-with-recent-l.patch
blob82dd4e96ead7ec9d159ef25165df1cdb8dcfa309
1 From 5dc8322b4f9a3de29b3da70b69e16356a2a1764c Mon Sep 17 00:00:00 2001
2 From: Viacheslav Volkov <sv99@inbox.ru>
3 Date: Sat, 19 Dec 2015 19:07:09 +0100
4 Subject: [PATCH] Fix function protoype to be compatible with recent libjpeg
6 Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 ---
9 zbar/jpeg.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/zbar/jpeg.c b/zbar/jpeg.c
13 index 972bfea..fdd1619 100644
14 --- a/zbar/jpeg.c
15 +++ b/zbar/jpeg.c
16 @@ -68,7 +68,7 @@ void init_source (j_decompress_ptr cinfo)
17 cinfo->src->bytes_in_buffer = img->datalen;
20 -int fill_input_buffer (j_decompress_ptr cinfo)
21 +boolean fill_input_buffer (j_decompress_ptr cinfo)
23 /* buffer underrun error case */
24 cinfo->src->next_input_byte = fake_eoi;
25 --
26 2.6.4