Your post is unintelligible. Try to limit line lengths to 80 characters.
-- Bruce John Burrell wrote:
>The work around that I'm using is to add the following parameter to configure: --with-camlibs=adc65,agfa_cl20,aox,barbie,canon,casio_qv,clicksmart310,digigr8,digita,dimera3500,directory,enigma13,fuji,gsmart300,hp215,iclick,jamcam,jd11,jl2005a, \ kodak_dc120,kodak_dc210,kodak_dc240,kodak_dc3200,kodak_ez200,konica,konica_qm150,largan,lg_gsm,mars,dimagev,mustek,panasonic_coolshot,panasonic_l859,panasonic_dc1000, \ panasonic_dc1580,pccam300,pccam600,pentax,polaroid_pdc320,polaroid_pdc640,polaroid_pdc700,ptp2,ricoh,ricoh_g3,samsung,sierra,sipix_blink2,sipix_web2,smal,sonix,sony_dscf1, \ sony_dscf55,soundvision,spca50x,sq905,st2205,stv0674,stv0680,sx330z,topfield,toshiba_pdrm11,tp6801 i.e. list cams so that we can then remove ax203 and jl2005c which cause build issues with libjpeg-turbo-1.5.0Actualy the patch is very simple. I'll post it here for completeness:diff -Naur libgphoto2-2.5.10-orig/camlibs/ax203/jpeg_memsrcdest.c libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.c--- libgphoto2-2.5.10-orig/camlibs/ax203/jpeg_memsrcdest.c 2015-08-08 10:57:29.000000000 -0500+++ libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.c 2016-07-15 09:15:01.643188502 -0500@@ -26,7 +26,7 @@ /* libjpeg8 and later come with their own (API compatible) memory source and dest */-#if JPEG_LIB_VERSION < 80+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) /* Expanded data source object for memory input */ diff -Naur libgphoto2-2.5.10-orig/camlibs/ax203/jpeg_memsrcdest.h libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h--- libgphoto2-2.5.10-orig/camlibs/ax203/jpeg_memsrcdest.h 2015-08-08 10:57:29.000000000 -0500+++ libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h 2016-07-15 09:14:32.544019228 -0500@@ -1,5 +1,7 @@ #include <jpeglib.h> +#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED)+ void jpeg_mem_src (j_decompress_ptr cinfo, unsigned char
* buffer, unsigned long bufsize);@@ -7,3 +9,5 @@ void jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, unsigned long * outsize);++#endifdiff -Naur libgphoto2-2.5.10-orig/camlibs/jl2005c/jpeg_memsrcdest.c libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.c--- libgphoto2-2.5.10-orig/camlibs/jl2005c/jpeg_memsrcdest.c 2015-08-08 10:57:29.000000000 -0500+++ libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.c 2016-07-15 09:15:28.364516102 -0500@@ -26,7 +26,7 @@ /* libjpeg8 and later come with their own (API compatible) memory source and dest */-#if JPEG_LIB_VERSION < 80+#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) /* Expanded data source object for memory input */ diff -Naur libgphoto2-2.5.10-orig/camlibs/jl2005c/jpeg_memsrcdest.h libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h--- libgphoto2-2.5.10-orig/camlibs/jl2005c/jpeg_memsrcdest.h 2015-08-08 10:57:29.000000000 -0500+++ libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h 2016-07-15 09:16:09.115 020167 -0500@@ -1,5 +1,7 @@ #include <jpeglib.h> +#if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED)+ void jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer, unsigned long bufsize);@@ -7,3 +9,5 @@ void jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer, unsigned long * outsize);++#endif
Apologies if the formatting isn't preserved. Let me know if you need the patch and I can email you the file. I don't think I can attach it here because any attachments are rejected - or they were the last time I tried. It would probably be easier to do this as a sed, as the changes are minor. jb.
-- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
