<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/a10ccb1b064e64f66b31f473482109e617ea7499">https://github.com/macports/macports-ports/commit/a10ccb1b064e64f66b31f473482109e617ea7499</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 a10ccb1b064 msp430-elf-gcc: fix version bug
</span>a10ccb1b064 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a10ccb1b064e64f66b31f473482109e617ea7499
</span>Author: Edil Medeiros <78322931+edilmedeiros@users.noreply.github.com>
AuthorDate: Sun Jul 21 21:31:11 2024 -0300
<span style='display:block; white-space:pre;color:#404040;'> msp430-elf-gcc: fix version bug
</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/70411
</span>---
cross/msp430-elf-gcc/Portfile | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/msp430-elf-gcc/Portfile b/cross/msp430-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 34c4a2c543f..f07cae0a561 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/msp430-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/msp430-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,17 @@
</span> PortSystem 1.0
PortGroup crossgcc 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# This post-extract block must be declared before the one created by crossgcc.setup.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s gcc-${crossgcc.version} ${workpath}/gcc-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> crossgcc.setup msp430-elf 9.3.0
crossgcc.setup_libc newlib 2.4.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Align with TI's versioning
</span> version 9.3.1.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set vers_patch 9.3.1.11
set name_patch msp430-gcc-${vers_patch}-source-patches
set file_patch ${name_patch}.tar.bz2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,22 +31,18 @@ checksums-append ${file_patch} \
</span> sha256 ec6472b034e11e8cfdeb3934b218e5bafbb7a03f3afc0e76536bd9c42653525b \
size 283677
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Bump back version so that newlib will compile correctly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 9.3.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_run port:msp430-gcc-support-files
depends_extract-append \
port:bzip2
post-extract {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "${prefix}/bin/bzip2 -dc ${distpath}/${file_patch} | /usr/bin/tar xf -"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath} "${prefix}/bin/bzip2 -dc [shellescape ${distpath}/${file_patch}] | /usr/bin/tar xf -"
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "/usr/bin/patch -p0 < ${workpath}/${name_patch}/gcc-${version}.patch"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/newlib-2.4.0 "/usr/bin/patch -p0 < ${workpath}/${name_patch}/newlib-2_4_0.patch"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/bin/patch -p0 < [shellescape ${workpath}/${name_patch}/gcc-9.3.0.patch]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/newlib-2.4.0 "/usr/bin/patch -p0 < [shellescape ${workpath}/${name_patch}/newlib-2_4_0.patch]"
</span> }
# gcc_system.diff: See https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=111632
</pre><pre style='margin:0'>
</pre>