<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/b2a04cc09a7ebc902c48b2eedb2016416960afe0">https://github.com/macports/macports-ports/commit/b2a04cc09a7ebc902c48b2eedb2016416960afe0</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 b2a04cc09a7 cpuid: blacklist old gcc, fixes build on macOS <10.6
</span>b2a04cc09a7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b2a04cc09a7ebc902c48b2eedb2016416960afe0
</span>Author: Cebtenzzre <cebtenzzre@gmail.com>
AuthorDate: Thu May 11 19:59:52 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> cpuid: blacklist old gcc, fixes build on macOS <10.6
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> gcc <=4.2 doesn't support the options used in the Makefile, or the 'asm'
</span><span style='display:block; white-space:pre;color:#404040;'> statement used for the cpuid instruction.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/67395
</span>---
sysutils/cpuid/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cpuid/Portfile b/sysutils/cpuid/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 78938104648..8c725a65048 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/cpuid/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cpuid/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,9 @@ checksums rmd160 036bcc55d4d5812d2aa0b13c5cf7afdc3d5351fd \
</span>
patchfiles-append patch-makefile.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc-3.3 *gcc-4.0 *gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure {
# no configure script, just a few changes that need to be made to the Makefile
# for it to be configured correctly. Doing these reinplaces in configure{} instead
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,3 +39,5 @@ configure {
</span> }
build.args-append CC=${configure.cc} LD=${configure.cc} V=1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC=${configure.cc} LD=${configure.cc}
</span></pre><pre style='margin:0'>
</pre>