Bug 252290

Summary: misc/thrill: fix build on big-endian architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2020-12-30 15:46:31 UTC
Created attachment 221108 [details]
patch

What is the reason for files/patch-extlib_tlx_tlx_math_bswap.hpp patch?

It specifies that bswap functions are not to be used on FreeBSD, but this breaks build on big-endian architectures. If that is necessary, system bswap functions should be used instead (by including sys/endian.h).
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2020-12-31 18:59:28 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-12-31 18:59:45 UTC
A commit references this bug:

Author: yuri
Date: Thu Dec 31 18:59:28 UTC 2020
New revision: 559765
URL: https://svnweb.freebsd.org/changeset/ports/559765

Log:
  misc/thrill: Fix build on big-endian architectures

  PR:		252290
  Submitted by:	pkubaj

Changes:
  head/misc/thrill/files/patch-extlib_tlx_tlx_math_bswap.hpp