Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2019 18:24:56 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502740 - in head/math/xlife++: . files
Message-ID:  <201905261824.x4QIOupP068122@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun May 26 18:24:56 2019
New Revision: 502740
URL: https://svnweb.freebsd.org/changeset/ports/502740

Log:
  math/xlife++: fix build with GCC-based architectures
  
  PR:		238002
  Submitted by:	pkubaj

Added:
  head/math/xlife++/files/patch-src_utils_memoryUtils.cpp   (contents, props changed)
Modified:
  head/math/xlife++/Makefile

Modified: head/math/xlife++/Makefile
==============================================================================
--- head/math/xlife++/Makefile	Sun May 26 18:17:15 2019	(r502739)
+++ head/math/xlife++/Makefile	Sun May 26 18:24:56 2019	(r502740)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BROKEN_aarch64=		fails to compile: BlasUtil.h:63:63: no type named 'ReturnType' in 'Eigen::ScalarBinaryOpTraits<__attribute__
 
-USES=		cmake eigen:3 fortran tar:tbz
+USES=		cmake compiler:c++11-lang eigen:3 fortran tar:tbz
 USE_LDCONFIG=	yes
 
 CMAKE_OFF=	XLIFEPP_ENABLE_ARPACK # should be ON, but it fails to build. Reported to their bugs ML.

Added: head/math/xlife++/files/patch-src_utils_memoryUtils.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/xlife++/files/patch-src_utils_memoryUtils.cpp	Sun May 26 18:24:56 2019	(r502740)
@@ -0,0 +1,12 @@
+--- src/utils/memoryUtils.cpp.orig	2019-05-20 17:06:38 UTC
++++ src/utils/memoryUtils.cpp
+@@ -27,8 +27,8 @@ XLiFE++ is an extended library of finite elements writ
+ #include "utils.h"
+ 
+ #ifdef OS_IS_UNIX
+-#include <sys/sysctl.h>
+ #include <sys/types.h>
++#include <sys/sysctl.h>
+ #include <sys/resource.h>
+ #endif
+ 



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