summaryrefslogtreecommitdiff
path: root/media-libs/lcms/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-17 20:33:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-17 20:33:10 +0100
commit1c9a2b6cf059fca455a527c1bd76a2321f93b310 (patch)
tree1b35cf6afe711f7eaedfe2e5fe41b14e517ee215 /media-libs/lcms/files
parentb9d1ad143f4a37061059ce69b1251e23fd760f95 (diff)
gentoo auto-resync : 17:08:2022 - 20:33:10
Diffstat (limited to 'media-libs/lcms/files')
-rw-r--r--media-libs/lcms/files/lcms-2.13-grayscale-regression.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/media-libs/lcms/files/lcms-2.13-grayscale-regression.patch b/media-libs/lcms/files/lcms-2.13-grayscale-regression.patch
deleted file mode 100644
index d1ce0483ee6f..000000000000
--- a/media-libs/lcms/files/lcms-2.13-grayscale-regression.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://github.com/mm2/Little-CMS/commit/fdbfb7694f9d7048d53674b79ddfc38068bfdaf7
-https://bugs.gentoo.org/832520
-
-From: Marti Maria <marti.maria@littlecms.com>
-Date: Sun, 30 Jan 2022 16:56:48 +0100
-Subject: [PATCH] Fix for optimisation error on grayscale
-
-Thanks to Aaron Boxer for reporting this issue
---- a/src/cmsintrp.c
-+++ b/src/cmsintrp.c
-@@ -278,10 +278,10 @@ void Eval1Input(CMSREGISTER const cmsUInt16Number Input[],
- // if last value...
- if (Input[0] == 0xffff || p16->Domain[0] == 0) {
-
-- cmsUInt16Number y0 = LutTable[p16->Domain[0]];
--
-+ cmsUInt32Number y0 = p16->Domain[0] * p16->opta[0];
-+
- for (OutChan = 0; OutChan < p16->nOutputs; OutChan++) {
-- Output[OutChan] = y0;
-+ Output[OutChan] = LutTable[y0 + OutChan];
- }
- }
- else
-@@ -324,10 +324,10 @@ void Eval1InputFloat(const cmsFloat32Number Value[],
- // if last value...
- if (val2 == 1.0 || p->Domain[0] == 0) {
-
-- y0 = LutTable[p->Domain[0]];
-+ cmsUInt32Number start = p->Domain[0] * p->opta[0];
-
- for (OutChan = 0; OutChan < p->nOutputs; OutChan++) {
-- Output[OutChan] = y0;
-+ Output[OutChan] = LutTable[start + OutChan];
- }
- }
- else
-