[Buildroot] [PATCH 1/3] package/libgphoto2: fix build with gcc >= 14
Julien Olivain
ju.o at free.fr
Sat Oct 25 16:58:43 UTC 2025
On 22/10/2025 18:31, Dario Binacchi wrote:
> The commit adds a backported upstream patch to fix the following build
> failure:
>
> ptp2/ptp-pack.c:3168:31: note: earlier argument should specify number
> of elements, later size of each element
> ptp2/chdk.c: In function 'yuv_live_to_jpeg':
> ptp2/chdk.c:1203:41: error: passing argument 3 of 'jpeg_mem_dest' from
> incompatible pointer type [-Wincompatible-pointer-types]
> 1203 | jpeg_mem_dest (&cinfo, &outbuf, &outlen);
> | ^~~~~~~
> | |
> | uint64_t * {aka long
> long unsigned int *}
> In file included from ptp2/chdk.c:31:
> /home/autobuild/autobuild/instance-0/output-1/per-package/libgphoto2/host/armeb-buildroot-linux-gnueabi/sysroot/usr/include/jpeglib.h:989:43:
> note: expected 'long unsigned int *' but argument is of type 'uint64_t
> *' {aka 'long long unsigned int *'}
> 989 | unsigned long *outsize);
>
> Fixes:
> -
> https://autobuild.buildroot.org/results/db742e301a401c9f4bdf3c7e8cfde9f0ba1c4558
>
> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
Series applied to master, thanks.
More information about the buildroot
mailing list