svn commit: r502740 - in head/math/xlife++: . files

Yuri Victorovich yuri at FreeBSD.org
Sun May 26 18:24:57 UTC 2019


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
+ 


More information about the svn-ports-all mailing list