constify lcms2 some more
Change-Id: I969bca29072826db5e6fd26b9d5c945d289e89a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188324 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
diff -ur lcms2.org/src/cmscnvrt.c lcms2/src/cmscnvrt.c
|
||||
--- lcms2.org/src/cmscnvrt.c 2025-07-25 11:19:46.585033759 +0200
|
||||
+++ lcms2/src/cmscnvrt.c 2025-07-25 11:19:55.829564148 +0200
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
|
||||
// Built-in intents
|
||||
-static cmsIntentsList DefaultIntents[] = {
|
||||
+static const cmsIntentsList DefaultIntents[] = {
|
||||
|
||||
{ INTENT_PERCEPTUAL, "Perceptual", DefaultICCintents, &DefaultIntents[1] },
|
||||
{ INTENT_RELATIVE_COLORIMETRIC, "Relative colorimetric", DefaultICCintents, &DefaultIntents[2] },
|
||||
+1
@@ -26,6 +26,7 @@ endif
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,lcms2,\
|
||||
external/lcms2/lcms2-2.4-windows.patch \
|
||||
external/lcms2/0001-Mark-some-tables-as-const.patch.1 \
|
||||
external/lcms2/0002-mark-more-const.patch.1 \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
Reference in New Issue
Block a user