From 2b9e6f9ca03bb24efcb443760852b940847caaca Mon Sep 17 00:00:00 2001 From: Sam Lawrance Date: Fri, 17 Feb 2006 11:47:41 +0000 Subject: Update to 1.2.6. [1] Add a patch to unbreak compilation with mpich. [2] PR: ports/92909 [1], ports/93176 [2] Submitted by: Kay Lehmann (maintainer) --- .../mbdyn/files/patch-mbdyn__base__schurdataman.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 science/mbdyn/files/patch-mbdyn__base__schurdataman.cc (limited to 'science/mbdyn/files/patch-mbdyn__base__schurdataman.cc') diff --git a/science/mbdyn/files/patch-mbdyn__base__schurdataman.cc b/science/mbdyn/files/patch-mbdyn__base__schurdataman.cc new file mode 100644 index 000000000000..5b72bf1d7bbb --- /dev/null +++ b/science/mbdyn/files/patch-mbdyn__base__schurdataman.cc @@ -0,0 +1,20 @@ +Fix to Schur data manager caused by the introduction of the output meter; +only affects MBDyn 1.2.6 when --enable-schur + +Index: mbdyn/base/schurdataman.cc +=================================================================== +RCS file: /var/cvs/mbdyn/mbdyn/mbdyn-1.0/mbdyn/base/schurdataman.cc,v +retrieving revision 1.40.2.6 +retrieving revision 1.40.2.7 +diff -u -r1.40.2.6 -r1.40.2.7 +--- mbdyn/base/schurdataman.cc 18 Jan 2006 16:29:56 -0000 1.40.2.6 ++++ mbdyn/base/schurdataman.cc 8 Feb 2006 20:02:29 -0000 1.40.2.7 +@@ -1835,7 +1835,7 @@ + DEBUGCOUT("Entering SchurDataManager::Output()" << std::endl); + + /* output only at multiples of iOutputFrequency */ +- if ((!force) && (iOutputCount++%iOutputFrequency)) { ++ if ((!force) && !pOutputMeter->dGet()) { + return; + } + -- cgit v1.2.3