<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/52dbd06bd797f9629d0e795aacb5086c5ff80f57">https://github.com/macports/macports-ports/commit/52dbd06bd797f9629d0e795aacb5086c5ff80f57</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 52dbd06bd79 pyxplot: small tweak to patch
</span>52dbd06bd79 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 52dbd06bd797f9629d0e795aacb5086c5ff80f57
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Jan 8 16:36:23 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> pyxplot: small tweak to patch
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I built this outside macports and a few suggestions turned up with the compiler's review of things. This looks better and right for now, and should be somewhat more robust going forward, pending something longlasting from upstream.
</span>---
math/pyxplot/Portfile | 2 +-
math/pyxplot/files/patch-pyxplot-no-crash-ventura.diff | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/pyxplot/Portfile b/math/pyxplot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4221e28918a..119be64c933 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/pyxplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/pyxplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name pyxplot
version 0.9.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 22
</span> categories math science
maintainers {mps @Schamschula} openmaintainer
license GPL-3+
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/pyxplot/files/patch-pyxplot-no-crash-ventura.diff b/math/pyxplot/files/patch-pyxplot-no-crash-ventura.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 31a8724492c..3d39e1b05bb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/pyxplot/files/patch-pyxplot-no-crash-ventura.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/pyxplot/files/patch-pyxplot-no-crash-ventura.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,10 +8,10 @@
</span> +
+ char *myhomedir;
+ myhomedir = ppl_unixGetHomeDir(&context->errcontext);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (myhomedir == "") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (myhomedir == NULL) {
</span> + myhomedir = "~";
+ }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ strncpy(se->session_default.homedir,&myhomedir,4096);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ strncpy(se->session_default.homedir,myhomedir,4096);
</span> + //strcpy(se->session_default.homedir, ppl_unixGetHomeDir(&context->errcontext));
// Estimate the machine precision of the floating point unit we are using
</pre><pre style='margin:0'>
</pre>