Created attachment 198831 [details] patch Build on big-endian architectures is broken because byte-swapping function causes build errors. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
I can't test your patch because I don't have similar architecture. But I trust you I accept. Thanks for your work!
A commit references this bug: Author: linimon Date: Sun Nov 11 03:49:20 UTC 2018 New revision: 484658 URL: https://svnweb.freebsd.org/changeset/ports/484658 Log: Fix build on big-endian architectures due to byte-swapping function. PR: 232870 Submitted by: Piotr Kubaj Approved by: maintainer Changes: head/graphics/mupdf/Makefile head/graphics/mupdf/files/patch-thirdparty_lcms2_src_cmsmd5.c