digikam/r703199.diff

23 lines
849 B
Diff

------------------------------------------------------------------------
r703199 | cgilles | 2007-08-22 09:03:07 +0200 (Wed, 22 Aug 2007) | 3 lines
digiKam from KDE3 branch : patch from Angelo Naselli about to compile digiKam with lcms 1.17. Tested under Mandriva 2007.1 and 2008.0 (cooker)
BUG: 148930
------------------------------------------------------------------------
Index: digikam/libs/lprof/lcmsprf.h
===================================================================
--- digikam/libs/lprof/lcmsprf.h (revision 703198)
+++ digikam/libs/lprof/lcmsprf.h (revision 703199)
@@ -69,6 +69,10 @@ typedef struct {
} MATN,FAR* LPMATN;
+// See B.K.O #148930: compile with lcms v.1.17
+#if (LCMS_VERSION > 116)
+typedef LCMSBOOL BOOL;
+#endif
LPMATN cdecl MATNalloc(int Rows, int Cols);
void cdecl MATNfree (LPMATN mat);