<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/8453d5826605d87574778c5862c95d8948b00036">https://github.com/macports/macports-ports/commit/8453d5826605d87574778c5862c95d8948b00036</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 8453d582660 llvm-3.3, llvm-3.4: fix ppc build on Intel machines
</span>8453d582660 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8453d5826605d87574778c5862c95d8948b00036
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Feb 14 03:28:46 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm-3.3, llvm-3.4: fix ppc build on Intel machines
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since the installed files don't change.
</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/64498
</span>---
lang/llvm-3.3/Portfile | 3 ++-
lang/llvm-3.3/files/patch-macports-flags.diff | 19 +++++++++++++++++++
lang/llvm-3.4/Portfile | 3 ++-
lang/llvm-3.4/files/patch-macports-flags.diff | 19 +++++++++++++++++++
4 files changed, 42 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.3/Portfile b/lang/llvm-3.3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f8d3fc505e3..b8cd539aa53 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,7 +80,8 @@ patchfiles install_target.patch \
</span> 0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch \
tiger.patch \
tiger-undefined-_CS_DARWIN_USER_-macros.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- tiger-shlib.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tiger-shlib.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-macports-flags.diff
</span>
patch.pre_args -p1
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.3/files/patch-macports-flags.diff b/lang/llvm-3.3/files/patch-macports-flags.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b975d129a12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.3/files/patch-macports-flags.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See https://trac.macports.org/ticket/64498
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/projects/sample/Makefile.llvm.config.in 2012-11-11 23:11:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/projects/sample/Makefile.llvm.config.in 2023-02-14 02:43:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -118,6 +118,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Path to the CC binary, which use used by testcases for native builds.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC := @CC@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C/C++ preprocessor flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CPPFLAGS += @CPPFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C compiler flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += @CFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C++ compiler flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CXXFLAGS += @CXXFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Linker flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS+=@LDFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.4/Portfile b/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 10f540f9b02..ff5af57586e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,7 +125,8 @@ patchfiles \
</span> 0005-_CS_DARWIN_USER-macros-available-on-darwin-9.-Thanks.patch \
0006-Fix-dylib-install-name-when-building-on-Tiger.patch \
0007-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- llvm-skip-unittests.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ llvm-skip-unittests.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-macports-flags.diff
</span>
if {${subport} eq "clang-${llvm_version}"} {
patchfiles-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.4/files/patch-macports-flags.diff b/lang/llvm-3.4/files/patch-macports-flags.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b975d129a12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.4/files/patch-macports-flags.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See https://trac.macports.org/ticket/64498
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/projects/sample/Makefile.llvm.config.in 2012-11-11 23:11:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/projects/sample/Makefile.llvm.config.in 2023-02-14 02:43:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -118,6 +118,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Path to the CC binary, which use used by testcases for native builds.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC := @CC@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C/C++ preprocessor flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CPPFLAGS += @CPPFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C compiler flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += @CFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# C++ compiler flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CXXFLAGS += @CXXFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Linker flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS+=@LDFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>