8238002: Better matrix operations

Reviewed-by: serb, erikj, mschoene, rhalade
This commit is contained in:
Phil Race 2020-02-12 12:18:46 -08:00
parent 697fb9e41b
commit 3476724641
2 changed files with 8 additions and 1 deletions
make/modules/java.desktop/lib
src/java.desktop/share/native/liblcms

@ -280,6 +280,13 @@ else
BUILD_LIBLCMS_INCLUDE_FILES :=
endif
ifeq ($(TOOLCHAIN_TYPE), clang)
ifeq ($(TOOLCHAIN_VERSION), 10.1)
# Work around an optimizer bug seen with Xcode 10.1, but fixed by 10.3
BUILD_LIBLCMS_cmsopt.c_CFLAGS := -O0
endif
endif
$(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
NAME := lcms, \
INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \

@ -1443,7 +1443,7 @@ int WriteNamedColorCRD(cmsIOHANDLER* m, cmsHPROFILE hNamedColor, cmsUInt32Number
cmsUInt32Number i, nColors, nColorant;
cmsUInt32Number OutputFormat;
char ColorName[cmsMAX_PATH];
char Colorant[128];
char Colorant[512];
cmsNAMEDCOLORLIST* NamedColorList;