<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a880fd6f07958638d3754af08b3e192f3867cdbd">https://github.com/macports/macports-ports/commit/a880fd6f07958638d3754af08b3e192f3867cdbd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a880fd6f079 octave-ocs: fix build issue, add size
</span>a880fd6f079 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a880fd6f07958638d3754af08b3e192f3867cdbd
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sat Dec 19 16:30:58 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> octave-ocs: fix build issue, add size
</span>---
math/octave-ocs/Portfile | 5 +++--
.../files/patch-src-Mshichmanhodgesmosfet.cc.diff | 22 ++++++++++++++++++++--
2 files changed, 23 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-ocs/Portfile b/math/octave-ocs/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d46f4c254b0..1b215d8d0cc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-ocs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-ocs/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ description Package for solving DC and transient \
</span> electrical circuit equations.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 fcc669049503009e52ac7b7595c7a4248c779b72 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1370bcde11871e96272216fffc3a5f5b3cc989fe8302456c127d3eb105d02013
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 fcc669049503009e52ac7b7595c7a4248c779b72 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1370bcde11871e96272216fffc3a5f5b3cc989fe8302456c127d3eb105d02013 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 68094
</span>
# see https://savannah.gnu.org/bugs/?51510
patchfiles patch-src-Mshichmanhodgesmosfet.cc.diff \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-ocs/files/patch-src-Mshichmanhodgesmosfet.cc.diff b/math/octave-ocs/files/patch-src-Mshichmanhodgesmosfet.cc.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index f58731baa7a..d4eeefa442c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-ocs/files/patch-src-Mshichmanhodgesmosfet.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-ocs/files/patch-src-Mshichmanhodgesmosfet.cc.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/Mshichmanhodgesmosfet.cc.orig 2015-08-24 16:25:14.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/Mshichmanhodgesmosfet.cc 2015-08-24 16:26:30.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Mshichmanhodgesmosfet.cc.orig 2020-12-19 16:05:06.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Mshichmanhodgesmosfet.cc 2020-12-19 16:26:47.000000000 -0600
</span> @@ -123,7 +123,7 @@
double vb = extvar(3); // V-bulk
double T = extvar(4); // Temperature
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,3 +61,21 @@
</span> }
*P = -(*ids)*vds;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -319,7 +319,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (args(1).length() == args(2).length())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parameters = args(1).column_vector_value();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- parameternames = args(2).all_strings();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ parameternames = args(2).string_vector_value();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error("Mshichmanhodgesmosfet: parameters and parameternames are expected to have the same length.\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -329,7 +329,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error("Mshichmanhodgesmosfet: five external values expected.\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Internal variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (args(4).is_empty())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (args(4).isempty())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else if (args(4).length() == 5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ intvar = args(4).column_vector_value();
</span></pre><pre style='margin:0'>
</pre>