Bug 238737 - biology/abyss: fix build on big-endian architectures
Summary: biology/abyss: 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: 2019-06-21 08:39 UTC by Piotr Kubaj
Modified: 2019-06-21 11:44 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (2.23 KB, patch)
2019-06-21 08:39 UTC, Piotr Kubaj
yuri: maintainer-approval+
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 2019-06-21 08:39:19 UTC
Created attachment 205252 [details]
patch

Use new GCC from ports on GCC architectures.

Merge 25eb9d2a914fb211fdfe04fcda5593f29fd23ff5, fixes build on GCC architectures.

Also include sys/endian.h and use bswap32 and bswap64 for byte-swapping (PR at https://github.com/bcgsc/abyss/pull/287 ).
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-06-21 08:41:07 UTC
Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-06-21 11:44:07 UTC
A commit references this bug:

Author: pkubaj
Date: Fri Jun 21 11:43:10 UTC 2019
New revision: 504788
URL: https://svnweb.freebsd.org/changeset/ports/504788

Log:
  biology/abyss: fix build on big-endian architectures

  Use new GCC from ports on GCC architectures.

  Merge 25eb9d2a914fb211fdfe04fcda5593f29fd23ff5, fixes build on GCC architectures.

  Also include sys/endian.h and use bswap32 and bswap64 for byte-swapping (PR at https://github.com/bcgsc/abyss/pull/287 ).

  PR:		238737
  Approved by:	yuri (maintainer), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20717

Changes:
  head/biology/abyss/Makefile
  head/biology/abyss/distinfo
  head/biology/abyss/files/patch-Common_city.cc