svn commit: r516043 - head/math/openturns/files

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 30 02:08:40 UTC 2019


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
+ 


More information about the svn-ports-head mailing list