<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1b5e48f04d6f75b7b928c60a0d497be9277c22f8">https://github.com/macports/macports-ports/commit/1b5e48f04d6f75b7b928c60a0d497be9277c22f8</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 1b5e48f04d6 libcaca: fix Tiger build
</span>1b5e48f04d6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1b5e48f04d6f75b7b928c60a0d497be9277c22f8
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Thu Nov 4 20:55:23 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> libcaca: fix Tiger build
</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/63758
</span>---
graphics/libcaca/Portfile | 5 +++++
graphics/libcaca/files/patch-libcaca-tiger.diff | 15 +++++++++++++++
2 files changed, 20 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libcaca/Portfile b/graphics/libcaca/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index efacb2e2a0d..aa13a563aef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libcaca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libcaca/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +56,11 @@ depends_lib port:ncurses port:zlib
</span> # temporary patch to fix use of implcitily declared function
patchfiles-append patch-libcaca-common-image.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/63758
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-libcaca-tiger.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_autoconf yes
# these dependencies are removed by use_autoconf, so add them after
depends_build-append port:libtool port:autoconf port:automake
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libcaca/files/patch-libcaca-tiger.diff b/graphics/libcaca/files/patch-libcaca-tiger.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..42298c45481
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libcaca/files/patch-libcaca-tiger.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The =~ operator was introduced in Bash 3.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This code path is not executed with --disable-cocoa.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/configure.ac.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -269,7 +269,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ac_cv_my_have_cocoa="yes"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="$save_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${ac_cv_my_have_cocoa}" = "yes"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [[[ "$target_os" =~ [0-9]+ ]]] && darwin_ver="${BASH_REMATCH[[0]]}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# [[[ "$target_os" =~ [0-9]+ ]]] && darwin_ver="${BASH_REMATCH[[0]]}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case x${target} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xpowerpc*darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 10.3 needed to link with X11
</span></pre><pre style='margin:0'>
</pre>