aboutsummaryrefslogtreecommitdiffstats
path: root/main/mupdf/fix-big-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mupdf/fix-big-endian.patch')
-rw-r--r--main/mupdf/fix-big-endian.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/main/mupdf/fix-big-endian.patch b/main/mupdf/fix-big-endian.patch
index a363beaf3e..c1931626bd 100644
--- a/main/mupdf/fix-big-endian.patch
+++ b/main/mupdf/fix-big-endian.patch
@@ -65,15 +65,6 @@ index 4b8f7f9..dd0925a 100644
MD5_Transform(ctx->buf, (cmsUInt32Number *) ctx->in);
buf += 64;
len -= 64;
-@@ -216,7 +216,7 @@ void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len)
-
- // Destroy the object and return the checksum
- static
--void MD5finish(cmsProfileID* ProfileID, cmsHANDLE Handle)
-+void MD5finish(cmsContext ContextID, cmsProfileID* ProfileID, cmsHANDLE Handle)
- {
- _cmsMD5* ctx = (_cmsMD5*) Handle;
- cmsUInt32Number count;
@@ -232,21 +232,21 @@ void MD5finish(cmsProfileID* ProfileID, cmsHANDLE Handle)
if (count < 8) {
@@ -108,15 +99,6 @@ index 4b8f7f9..dd0925a 100644
// Temp storage is no longer needed
_cmsFree(ContextID, Mem);
-@@ -300,7 +300,7 @@ cmsBool CMSEXPORT cmsMD5computeID(cmsContext ContextID, cmsHPROFILE hProfile)
- memmove(Icc, &Keep, sizeof(_cmsICCPROFILE));
-
- // And store the ID
-- MD5finish(&Icc ->ProfileID, MD5);
-+ MD5finish(ContextID, &Icc ->ProfileID, MD5);
- return TRUE;
-
- Error:
--
2.18.0.rc0.294.g786209a621