Bug 241546

Summary: math/openturns: fix build on BE architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
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-10-28 16:50:58 UTC
Created attachment 208659 [details]
patch

This port fails to build on big-endian architectures, because it redefines __BIG_ENDIAN__. Our compilers already define __BIG_ENDIAN__ and redefining it breaks compilation.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-10-30 01:51:24 UTC
Approved as mentor (builds on ppcports).
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-10-30 02:08:49 UTC
A commit references this bug:

Author: pkubaj
Date: Wed Oct 30 02:08:40 UTC 2019
New revision: 516043
URL: https://svnweb.freebsd.org/changeset/ports/516043

Log:
  math/openturns: fix build on BE architectures

  This port fails to build on big-endian architectures, because it redefines __BIG_ENDIAN__. Our compilers already define __BIG_ENDIAN__ and redefining it breaks compilation.

  PR:		241546
  Approved by:	linimon (mentor), yuri (maintainer)

Changes:
  head/math/openturns/files/
  head/math/openturns/files/patch-lib_include_OTconfig.h.in