<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/30c6ce311904debe3941d7fd6cb210182bb070d6">https://github.com/macports/macports-ports/commit/30c6ce311904debe3941d7fd6cb210182bb070d6</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 30c6ce31190 CronniX: Use tr instead of sed to convert cr to lf
</span>30c6ce31190 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 30c6ce311904debe3941d7fd6cb210182bb070d6
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sat Jan 6 02:33:13 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> CronniX: Use tr instead of sed to convert cr to lf
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes build on macOS 10.15 and earlier
</span>---
aqua/CronniX/Portfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/CronniX/Portfile b/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0b923654d52..607c9799b10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/CronniX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,7 +53,8 @@ post-configure {
</span> # Convert Mac to Unix line endings.
foreach lang [list Danish] {
set strings ${worksrcpath}/${lang}.lproj/Localizable.strings
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace {s|\r|\n|g} ${strings}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${strings} ${strings}.temp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "< [shellescape ${strings}.temp] tr '\\r' '\\n' > [shellescape ${strings}]"
</span> }
# Fix syntax errors.
system -W ${worksrcpath} "patch -p0 < [shellescape ${filespath}/Localizable.strings.syntax.patch]"
</pre><pre style='margin:0'>
</pre>