https://redmine.ruby-lang.org/
https://redmine.ruby-lang.org/favicon.ico?1711330511
2013-04-28T05:15:38Z
Ruby Issue Tracking System
Ruby master - Feature #8338: compilation failure in nkf with Bionic (Android's libc)
https://redmine.ruby-lang.org/issues/8338?journal_id=38959
2013-04-28T05:15:38Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Category</strong> set to <i>ext</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>naruse (Yui NARUSE)</i></li><li><strong>Target version</strong> set to <i>2.1.0</i></li></ul><p>こんな感じで通りますかね</p>
<p>diff --git a/nkf.h b/nkf.h<br>
index cbe5f56..af44320 100755<br>
--- a/nkf.h<br>
+++ b/nkf.h<br>
@@ -152,6 +152,7 @@ void setbinmode(FILE *fp)</p>
<a name="ifndef-HAVE_LOCALE_H"></a>
<h1 >ifndef HAVE_LOCALE_H<a href="#ifndef-HAVE_LOCALE_H" class="wiki-anchor">¶</a></h1>
<a name="define-HAVE_LOCALE_H"></a>
<h1 >define HAVE_LOCALE_H<a href="#define-HAVE_LOCALE_H" class="wiki-anchor">¶</a></h1>
<a name="endif"></a>
<h1 >endif<a href="#endif" class="wiki-anchor">¶</a></h1>
<p>+#elif defined(<strong>BIONIC</strong>) /* bionic doesn't have locale */<br>
#else</p>
<a name="ifndef-HAVE_LANGINFO_H"></a>
<h1 >ifndef HAVE_LANGINFO_H<a href="#ifndef-HAVE_LANGINFO_H" class="wiki-anchor">¶</a></h1>
<a name="define-HAVE_LANGINFO_H"></a>
<h1 >define HAVE_LANGINFO_H<a href="#define-HAVE_LANGINFO_H" class="wiki-anchor">¶</a></h1>
Ruby master - Feature #8338: compilation failure in nkf with Bionic (Android's libc)
https://redmine.ruby-lang.org/issues/8338?journal_id=38962
2013-04-28T05:58:41Z
akr (Akira Tanaka)
akr@fsij.org
<ul></ul><p>そのパッチを当てると、make, make install まで通るようになります。<br>
(もちろん動かしていないので、そこから先は知りません)</p>
Ruby master - Feature #8338: compilation failure in nkf with Bionic (Android's libc)
https://redmine.ruby-lang.org/issues/8338?journal_id=39034
2013-04-29T17:05:20Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r40520.<br>
Akira, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.<br>
[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: compilation failure in nkf with Bionic (Android's libc) (Closed)" href="https://redmine.ruby-lang.org/issues/8338">#8338</a>]</li>
</ul>