<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/32f092084bad5c63a6e625244ce18fc84a7c5bb9">https://github.com/macports/macports-ports/commit/32f092084bad5c63a6e625244ce18fc84a7c5bb9</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 32f0920 cctools: remove resource fork from more files
</span>32f0920 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 32f092084bad5c63a6e625244ce18fc84a7c5bb9
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Feb 13 02:39:11 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> cctools: remove resource fork from more files
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The presence of the resource fork causes reinplace to fail.
</span>---
devel/cctools/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cctools/Portfile b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 93c3e5a..685cfb4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cctools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -146,6 +146,17 @@ post-patch {
</span>
# Use our chosen version of llvm
if {${llvm_version} ne ""} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach file ${worksrcpath}/otool/main.c {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "deleting stray rsrc fork from ${file}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cp -X ${file} ${file}.tmp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "mv ${file}.tmp ${file}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "cp /dev/null ${file}/rsrc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> reinplace "s:\"llvm-objdump\":\"llvm-objdump-mp-${llvm_version}\":" ${worksrcpath}/otool/main.c
reinplace "s:\"llvm-mc\":\"llvm-mc-mp-${llvm_version}\":" ${worksrcpath}/as/driver.c
reinplace "s:@@LLVM_LIBDIR@@:${prefix}/libexec/llvm-${llvm_version}/lib:" ${worksrcpath}/libstuff/lto.c
</pre><pre style='margin:0'>
</pre>