Package: lcms2
Severity: normal
Tags: patch

The Ghostscript project has patched their embedded code copy of lcms2:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=53e2990

The actual patched is rather short, so here it is in full:

commit 53e2990bde0966173a954e51c388e4d26af40c15
Author: Alex Cherepanov <[email protected]>
Date:   Wed Aug 1 14:07:49 2012 -0400

    Fix lcms2 64-bit value decoding on big endian systems
    that lack 64-bit types or have these types missed by configuration.
    
    Conflicts:
        gs/lcms2/src/cmsplugin.c

diff --git a/gs/lcms2/src/cmsplugin.c b/gs/lcms2/src/cmsplugin.c
index 53379eb..76fe32f 100644
--- a/gs/lcms2/src/cmsplugin.c
+++ b/gs/lcms2/src/cmsplugin.c
@@ -96,10 +96,13 @@ void CMSEXPORT  _cmsAdjustEndianess64(cmsUInt64Number* 
Result, cmsUInt64Number*
    pOut[0] = pIn[7];

#else

    _cmsAssert(Result != NULL);
#  ifdef CMS_DONT_USE_INT64
    (*Result)[0] = QWord[0];
    (*Result)[1] = QWord[1];
#  else
    *Result = *QWord;QWord;
#  endif
#endif
}


Hope that is helpful,

 - Jonas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to