mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
c4254019d8
It looks like it was only built for one CPU before and didn't fail. Some change in the underlying libraries triggered the build to become multi-CPU and it began failing because get_nprocs() wasn't available for FreeBSD and also was't properly linked to the surrounding code. Reported by: fallout
12 lines
285 B
C++
12 lines
285 B
C++
--- mbdyn/base/invsolver.cc.orig 2017-09-09 09:20:12 UTC
|
|
+++ mbdyn/base/invsolver.cc
|
|
@@ -76,6 +76,8 @@
|
|
|
|
#include "solver_impl.h"
|
|
|
|
+extern "C" {int get_nprocs(void);}
|
|
+
|
|
InverseSolver::InverseSolver(MBDynParser& HPar,
|
|
const std::string& sInFName,
|
|
const std::string& sOutFName,
|