<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/610ea8645926cb047b4ab5aad50c66936a0c278c">https://github.com/macports/macports-ports/commit/610ea8645926cb047b4ab5aad50c66936a0c278c</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 610ea864592 py-matplotlib: atempt to fix build on macOS <= 10.11
</span>610ea864592 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 610ea8645926cb047b4ab5aad50c66936a0c278c
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Mon Jul 20 09:09:29 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-matplotlib: atempt to fix build on macOS <= 10.11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/commit/b07e0eb6440b1499bfd2157e19db86fc79984471#commitcomment-40732959
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/60880
</span>---
python/py-matplotlib/files/patch-v33-src-macosx.m.diff | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-matplotlib/files/patch-v33-src-macosx.m.diff b/python/py-matplotlib/files/patch-v33-src-macosx.m.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index bb00fb8ab0b..c2da43f5bae 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-matplotlib/files/patch-v33-src-macosx.m.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-matplotlib/files/patch-v33-src-macosx.m.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,10 +13,10 @@ see: https://github.com/matplotlib/matplotlib/pull/17956
</span> - messagebox.textContainer.maximumNumberOfLines = 2;
- messagebox.textContainer.lineBreakMode = NSLineBreakByTruncatingTail;
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (@available(macOS 10.11, *)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #if MAC_OS_X_VERSION_MAX_ALLOWED >= 101100 && MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
</span> + messagebox.textContainer.maximumNumberOfLines = 2;
+ messagebox.textContainer.lineBreakMode = NSLineBreakByTruncatingTail;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #endif
</span> +
[messagebox setFont: font];
[messagebox setDrawsBackground: NO];
</pre><pre style='margin:0'>
</pre>