Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 02:08:40 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516043 - head/math/openturns/files
Message-ID:  <201910300208.x9U28eIv018970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Oct 30 02:08:39 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)

Added:
  head/math/openturns/files/
  head/math/openturns/files/patch-lib_include_OTconfig.h.in   (contents, props changed)

Added: head/math/openturns/files/patch-lib_include_OTconfig.h.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/openturns/files/patch-lib_include_OTconfig.h.in	Wed Oct 30 02:08:39 2019	(r516043)
@@ -0,0 +1,12 @@
+--- lib/include/OTconfig.h.in.orig	2019-10-28 13:43:02 UTC
++++ lib/include/OTconfig.h.in
+@@ -165,9 +165,6 @@
+ /* Define to `unsigned int' if <sys/types.h> does not define. */
+ #cmakedefine size_t
+ 
+-/* Define to 1 if big endian system */
+-#cmakedefine __BIG_ENDIAN__
+-
+ /* Define to 1 if UnsignedInteger and uint64_t are the same type */
+ #cmakedefine OPENTURNS_UNSIGNEDLONG_SAME_AS_UINT64
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910300208.x9U28eIv018970>