<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/a24624c7d1a4b963f02a8b825b33410f7c81e135">https://github.com/macports/macports-ports/commit/a24624c7d1a4b963f02a8b825b33410f7c81e135</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 a24624c fish: fix build on Tiger
</span>a24624c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a24624c7d1a4b963f02a8b825b33410f7c81e135
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Feb 22 18:20:02 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> fish: fix build on Tiger
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the locale detection logic is not working quite
</span><span style='display:block; white-space:pre;color:#404040;'> right on Tiger. Forcing the define fixes the error.
</span>---
shells/fish/Portfile | 4 ++++
1 file changed, 4 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/shells/fish/Portfile b/shells/fish/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 42e8b12..982ea86 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/shells/fish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/shells/fish/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,10 @@ patchfiles patch-share_config_fish.diff
</span> # fix build on Tiger
if { ${os.platform} eq "darwin" && ${os.major} == 8 } {
configure.cxxflags-append -D__DARWIN_UNIX03=1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # src/wutil.h:138:1: error: 'locale_t' does not name a type
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # forcing this define fixes this issue on Tiger
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -DHAVE_XLOCALE_H=1
</span> }
post-patch {
</pre><pre style='margin:0'>
</pre>