Bug 241546 - math/openturns: fix build on BE architectures
Summary: math/openturns: fix build on BE 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: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-28 16:50 UTC by Piotr Kubaj
Modified: 2019-10-30 02:08 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (1003 bytes, patch)
2019-10-28 16:50 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-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