Bug 232870

Summary: graphics/mupdf: fix build on big-endian architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, uzsolt
Priority: --- Flags: uzsolt: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-10-31 23:09:13 UTC
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.
Comment 1 Zsolt Udvari freebsd_committer freebsd_triage 2018-11-01 17:50:27 UTC
I can't test your patch because I don't have similar architecture. But I trust you I accept.

Thanks for your work!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-11 03:49:24 UTC
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