update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 0b55fd4e0935a0231ca258fde631a95215df2f72 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Fri, 11 Nov 2016 23:29:56 +0100
|
||||
Subject: [PATCH] Fix lcms2.pc.in thread library dependency.
|
||||
|
||||
Needed (sometimes) for static linking.
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
lcms2.pc.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lcms2.pc.in b/lcms2.pc.in
|
||||
index b715f59..5b4213c 100644
|
||||
--- a/lcms2.pc.in
|
||||
+++ b/lcms2.pc.in
|
||||
@@ -7,5 +7,5 @@ Name: @PACKAGE@
|
||||
Description: LCMS Color Management Library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -llcms2
|
||||
-Libs.private: @LIB_MATH@
|
||||
+Libs.private: @LIB_MATH@ @LIB_THREAD@
|
||||
Cflags: -I${includedir}
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 5ca71a7bc18b6897ab21d815d15e218e204581e2 Mon Sep 17 00:00:00 2001
|
||||
From: Marti <marti.maria@tktbrainpower.com>
|
||||
Date: Mon, 15 Aug 2016 23:31:39 +0200
|
||||
Subject: [PATCH] Added an extra check to MLU bounds
|
||||
|
||||
Thanks to Ibrahim el-sayed for spotting the bug
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
src/cmstypes.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/cmstypes.c b/src/cmstypes.c
|
||||
index cb61860..c7328b9 100644
|
||||
--- a/src/cmstypes.c
|
||||
+++ b/src/cmstypes.c
|
||||
@@ -1460,6 +1460,7 @@ void *Type_MLU_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsU
|
||||
|
||||
// Check for overflow
|
||||
if (Offset < (SizeOfHeader + 8)) goto Error;
|
||||
+ if ((Offset + Len) > SizeOfTag + 8) goto Error;
|
||||
|
||||
// True begin of the string
|
||||
BeginOfThisString = Offset - SizeOfHeader - 8;
|
||||
--
|
||||
2.11.0
|
||||
|
||||
10
bsp/buildroot-2017.02.11/package/lcms2/Config.in
Normal file
10
bsp/buildroot-2017.02.11/package/lcms2/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_LCMS2
|
||||
bool "lcms2"
|
||||
help
|
||||
Little Color Management Software (CMS) intends to be an OPEN
|
||||
SOURCE small-footprint color management engine, with special
|
||||
focus on accuracy and performance.
|
||||
It uses the International Color Consortium standard (ICC), which is
|
||||
the modern standard when regarding to color management.
|
||||
|
||||
http://www.littlecms.com/
|
||||
4
bsp/buildroot-2017.02.11/package/lcms2/lcms2.hash
Normal file
4
bsp/buildroot-2017.02.11/package/lcms2/lcms2.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://sourceforge.net/projects/lcms/files/lcms/2.8
|
||||
sha1 e9535ec4a572b8fc7a1c405c35e6f4dc97714197 lcms2-2.8.tar.gz
|
||||
# Locally computed:
|
||||
sha256 66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22 lcms2-2.8.tar.gz
|
||||
34
bsp/buildroot-2017.02.11/package/lcms2/lcms2.mk
Normal file
34
bsp/buildroot-2017.02.11/package/lcms2/lcms2.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# lcms2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LCMS2_VERSION = 2.8
|
||||
LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
|
||||
LCMS2_LICENSE = MIT
|
||||
LCMS2_LICENSE_FILES = COPYING
|
||||
LCMS2_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
LCMS2_CONF_OPTS += --with-jpeg
|
||||
LCMS2_DEPENDENCIES += jpeg
|
||||
else
|
||||
LCMS2_CONF_OPTS += --without-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF),y)
|
||||
LCMS2_CONF_OPTS += --with-tiff
|
||||
LCMS2_DEPENDENCIES += tiff
|
||||
else
|
||||
LCMS2_CONF_OPTS += --without-tiff
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
LCMS2_CONF_OPTS += --with-zlib
|
||||
LCMS2_DEPENDENCIES += zlib
|
||||
else
|
||||
LCMS2_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user