lcms2: Apply an upstream fix to unbreak colord

The fix will be released in the next version, which will be rolled out
in "late Feb".  Apply it as a simple sed so it won't slow down the
tagging for 11.3.
This commit is contained in:
Xi Ruoyao 2023-02-14 14:59:45 +08:00
parent 8a71122cdf
commit ba7d11765a
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -83,16 +83,13 @@
<sect2 role="installation">
<title>Installation of Little CMS2</title>
<!-- Seems to be fixed in 2.10
<!-- Will be fixed in the next release (2.15 or 2.14.1?) -->
<para>
If you want to run tests, then the build procedure must
be modified to make some library internal references visible to
the test code:
Apply the upstream fix for an issue breaking colord:
</para>
<screen><userinput>sed -i '/AX_APPEND/s/^/#/' configure.ac &amp;&amp;
autoreconf</userinput></screen>
-->
<screen><userinput>sed '/BufferSize &lt; TagSize/,+1 s/goto Error/TagSize = BufferSize/' \
-i src/cmsio0.c</userinput></screen>
<para>
Install <application>Little CMS2</application> by running the following