On Wed, Jun 15, 2016 at 02:09:05PM +0200, Gregor Jasny wrote: > Hello Bill and Ondřej, > > Do you know how to properly detect jpeg_mem_src presence in libjpeg(turbo)? > > Since the transition to jpegturbo my package FTBFS: > > On 14/06/16 20:42, Chris Lamb wrote: > > In file included from jpeg.c:28:0: > > jpeg_memsrcdest.h:6:1: error: conflicting types for 'jpeg_mem_src' > > jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, > > ^ > > In file included from libv4lconvert-priv.h:31:0, > > from jpeg.c:26: > > /usr/include/jpeglib.h:923:14: note: previous declaration of > > 'jpeg_mem_src' was here > > EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo, > > ^ > > Would it make sense to change the check in the emulation layer [1] from > > #if JPEG_LIB_VERSION < 80
As far as IJG jpeg is converned, the above is correct. I do not know for turbo. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.