bc4ac7da33
Fixes the following security issue: CVE-2019-7317: png_image_free in png.c in libpng 1.6.36 has a use-after-free because png_image_free_function is called under png_safe_execute. Update license hash for a change in copyright year and typo fixes. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
32 lines
926 B
Makefile
32 lines
926 B
Makefile
################################################################################
|
|
#
|
|
# libpng
|
|
#
|
|
################################################################################
|
|
|
|
LIBPNG_VERSION = 1.6.37
|
|
LIBPNG_SERIES = 16
|
|
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
|
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng$(LIBPNG_SERIES)/$(LIBPNG_VERSION)
|
|
LIBPNG_LICENSE = Libpng-2.0
|
|
LIBPNG_LICENSE_FILES = LICENSE
|
|
LIBPNG_INSTALL_STAGING = YES
|
|
LIBPNG_DEPENDENCIES = host-pkgconf zlib
|
|
HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
|
|
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
|
|
|
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
|
|
LIBPNG_CONF_OPTS += --enable-arm-neon
|
|
else
|
|
LIBPNG_CONF_OPTS += --disable-arm-neon
|
|
endif
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
|
LIBPNG_CONF_OPTS += --enable-intel-sse
|
|
else
|
|
LIBPNG_CONF_OPTS += --disable-intel-sse
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|