Bug 238737

Summary: biology/abyss: 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 CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch yuri: maintainer-approval+

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