Bug 252290 - misc/thrill: fix build on big-endian architectures
Summary: misc/thrill: fix build on big-endian architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-30 15:46 UTC by Piotr Kubaj
Modified: 2020-12-31 18:59 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch (1.36 KB, patch)
2020-12-30 15:46 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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