mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
The commit adds an upstream patch to fix the following build failure:
jl2005c/jl2005bcd_decompress.c: In function 'jl2005bcd_decompress':
jl2005c/jl2005bcd_decompress.c:161:46: error: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [-Wincompatible-pointer-types]
161 | jpeg_mem_dest (&cinfo, &jpeg_header, &jpeg_header_size);
| ^~~~~~~~~~~~~~~~~
| |
| long unsigned int *
Fixes:
- https://autobuild.buildroot.org/results/cb983d9ad90170aa8d7f2b9a5dfc30055d83b5de
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Tested-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
59 lines
1.8 KiB
Makefile
59 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# libgphoto2
|
|
#
|
|
################################################################################
|
|
|
|
LIBGPHOTO2_VERSION = 2.5.33
|
|
LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.xz
|
|
LIBGPHOTO2_SITE = https://github.com/gphoto/libgphoto2/releases/download/v$(LIBGPHOTO2_VERSION)
|
|
LIBGPHOTO2_LICENSE = LGPL-2.1+, GPL-2.0 (adc65), GPL-2.0+ (some camlibs), \
|
|
LGPL-2.0 (sipix), LGPL-3.0+ (pentax), BSD-3-Clause (ax203/tinyjpeg)
|
|
# 0001-autoconf-checks-for-the-size-type-of-jpeg_mem_dest.patch
|
|
LIBGPHOTO2_AUTORECONF = YES
|
|
# There is a single license file for the LGPL-2.1, no license files
|
|
# for other licenses
|
|
LIBGPHOTO2_LICENSE_FILES = COPYING
|
|
LIBGPHOTO2_INSTALL_STAGING = YES
|
|
|
|
LIBGPHOTO2_DEPENDENCIES = libxml2 libusb libtool host-pkgconf
|
|
|
|
LIBGPHOTO2_CONF_ENV = udevscriptdir=/lib/udev
|
|
LIBGPHOTO2_CONF_OPTS += --without-rpmbuild --disable-gp2ddb --disable-internal-docs
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
|
|
# libusb-compat is not actually used, but it is detected, so add it
|
|
# here to guarantee reproducible builds
|
|
LIBGPHOTO2_DEPENDENCIES += libusb-compat
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
LIBGPHOTO2_DEPENDENCIES += libcurl
|
|
LIBGPHOTO2_CONF_OPTS += --with-libcurl=auto
|
|
else
|
|
LIBGPHOTO2_CONF_OPTS += --with-libcurl=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
|
|
LIBGPHOTO2_DEPENDENCIES += libexif
|
|
LIBGPHOTO2_CONF_OPTS += --with-libexif=auto
|
|
else
|
|
LIBGPHOTO2_CONF_OPTS += --with-libexif=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
LIBGPHOTO2_DEPENDENCIES += jpeg
|
|
LIBGPHOTO2_CONF_OPTS += --with-jpeg
|
|
else
|
|
LIBGPHOTO2_CONF_OPTS += --without-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GD),y)
|
|
LIBGPHOTO2_DEPENDENCIES += gd
|
|
LIBGPHOTO2_CONF_OPTS += --with-gdlib=auto
|
|
else
|
|
LIBGPHOTO2_CONF_OPTS += --with-gdlib=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|