ruby 1.8 ã® tk ライブラリ㌠OS X 上ã§ãƒ“ルドã§ããªã„件ã§ã™ã€‚
 OS X ã® gcc ã«ã¯ä»•æŽ›ã‘ãŒã‚り〠ruby 1.9 ãŒå…¥ã£ã¦ã„ãªãã¦ã‚‚
#include <ruby/ruby.h> ã¯
/System/Library/Frameworks/Ruby.framework/Headers/ruby.h
を拾ã£ã¦ã—ã¾ã„ã¾ã™ã€‚(frameworkå/Headers以下ã®ãƒ‘ス)
 以下ã®ä¿®æ£ã§ç›´ã‚Šã¾ã™ã€‚コミットã—ã¦ã‚ˆã„ã§ã—ょã†ã‹ã€‚
Index: trunk/ext/tk/tcltklib.c
— trunk/ext/tk/tcltklib.c (revision 17964)
+++ trunk/ext/tk/tcltklib.c (working copy)
@@ -8,8 +8,7 @@
#include “ruby.h”
-#ifdef HAVE_RUBY_RUBY_H
-/* #include “ruby/ruby.h” */
+#ifdef HAVE_RUBY_SIGNAL_H
#include “ruby/signal.h”
#ifdef HAVE_RUBY_ENCODING_H
#include “ruby/encoding.h”
Index: trunk/ext/tk/extconf.rb
— trunk/ext/tk/extconf.rb (revision 17964)
+++ trunk/ext/tk/extconf.rb (working copy)
@@ -5,7 +5,7 @@ require ‘mkmf’
is_win32 = (/mswin|mingw|cygwin|bccwin|wince/ =~ RUBY_PLATFORM)
#is_macosx = (/darwin/ =~ RUBY_PLATFORM)
-have_header(“ruby/ruby.h”)
+have_header(“ruby/signal.h”)
have_header(“ruby/encoding.h”)
have_func(“ruby_native_thread_p”, “ruby.h”)
have_func(“rb_errinfo”, “ruby.h”)
Index: trunk/ext/tk/tkutil/tkutil.c
— trunk/ext/tk/tkutil/tkutil.c (revision 17964)
+++ trunk/ext/tk/tkutil/tkutil.c (working copy)
@@ -11,8 +11,7 @@
#include “ruby.h”
-#ifdef HAVE_RUBY_RUBY_H
-/* #include “ruby/ruby.h” */
+#ifdef HAVE_RUBY_SIGNAL_H
#include “ruby/signal.h”
#include “ruby/st.h”
#else
Index: branches/ruby_1_8/ext/tk/tcltklib.c
— branches/ruby_1_8/ext/tk/tcltklib.c (revision 17964)
+++ branches/ruby_1_8/ext/tk/tcltklib.c (working copy)
@@ -8,8 +8,7 @@
#include “ruby.h”
-#ifdef HAVE_RUBY_RUBY_H
-/* #include “ruby/ruby.h” */
+#ifdef HAVE_RUBY_SIGNAL_H
#include “ruby/signal.h”
#ifdef HAVE_RUBY_ENCODING_H
#include “ruby/encoding.h”
Index: branches/ruby_1_8/ext/tk/extconf.rb
— branches/ruby_1_8/ext/tk/extconf.rb (revision 17964)
+++ branches/ruby_1_8/ext/tk/extconf.rb (working copy)
@@ -5,7 +5,7 @@ require ‘mkmf’
is_win32 = (/mswin|mingw|cygwin|bccwin|wince/ =~ RUBY_PLATFORM)
#is_macosx = (/darwin/ =~ RUBY_PLATFORM)
-have_header(“ruby/ruby.h”)
+have_header(“ruby/signal.h”)
have_header(“ruby/encoding.h”)
have_func(“ruby_native_thread_p”, “ruby.h”)
have_func(“rb_errinfo”, “ruby.h”)
Index: branches/ruby_1_8/ext/tk/tkutil/tkutil.c
— branches/ruby_1_8/ext/tk/tkutil/tkutil.c (revision 17964)
+++ branches/ruby_1_8/ext/tk/tkutil/tkutil.c (working copy)
@@ -11,8 +11,7 @@
#include “ruby.h”
-#ifdef HAVE_RUBY_RUBY_H
-/* #include “ruby/ruby.h” */
+#ifdef HAVE_RUBY_SIGNAL_H
#include “ruby/signal.h”
#include “ruby/st.h”
#else