Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Add upstream patch to fix build with lcms 2.4

Reported by:	pointyhat via beat
Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
  • Loading branch information...
commit d0b9904a732f0fd012f38c1b593a4deb3a2f193a 1 parent 584f7b2
jhale authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 editors/calligra/files/patch-git_e5f53594
View
19 editors/calligra/files/patch-git_e5f53594
@@ -0,0 +1,19 @@
+commit e5f535944132105f9acbe02f1042e1725c515f99
+Author: Boudewijn Rempt <boud@valdyas.org>
+Date: Tue Sep 4 15:14:51 2012 +0200
+
+ Fix compilation with latest lcms2.4 rc
+
+diff --git a/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h b/plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h
+index 8250ea5..62c777f 100644
+--- ./plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h
++++ ./plugins/colorengines/lcms2/colorspaces/xyz_f32/XyzF32ColorSpace.h
+@@ -23,6 +23,8 @@
+ #include <LcmsColorSpace.h>
+ #include <KoColorSpaceTraits.h>
+
++#define TYPE_XYZA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_XYZ)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4))
++
+ #include <KoColorModelStandardIds.h>
+
+ class XyzF32ColorSpace : public LcmsColorSpace<KoXyzF32Traits>
Please sign in to comment.
Something went wrong with that request. Please try again.