trying to compile with to stabilized libjpeg-turbo-1.5: In file included from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/ax203.c:38:0: /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for ‘jpeg_mem_src’ jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, ^ In file included from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h:1:0, from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/ax203.c:38: /usr/include/jpeglib.h:923:14: note: previous declaration of ‘jpeg_mem_src’ was here EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo, ---- But there might already be a patch ready at: https://github.com/gphoto/libgphoto2/commit/0df14db3eda1b780a27b1c54bc8f251d15afebbc
(In reply to Ulenrich from comment #0) > But there might already be a patch ready at: > > https://github.com/gphoto/libgphoto2/commit/ > 0df14db3eda1b780a27b1c54bc8f251d15afebbc Confirming that this patch fixes build.
any idea why this has not been fixed though libjpeg-turbo-1.5.0 is being stableized .. can't rebuild this lib now ...
@Derk there are two ways for you to fix your issue: - apply the patch, or - disable ax203 in CAMERAS: -ax203
[master fb8208b] media-libs/libgphoto2: Fix build with latest jpeg-turbo (#586336 by Ulenrich) 2 files changed, 98 insertions(+) create mode 100644 media-libs/libgphoto2/files/libgphoto2-2.5.10-jpeg.patch
(In reply to Derk W te Bokkel from comment #2) > any idea why this has not been fixed though libjpeg-turbo-1.5.0 is being > stableized .. can't rebuild this lib now ... Because we are too few developers needing to handle lots of packages/bugs... if you want to become a dev... please let me know (via mail it will be better)