[前][次][番号順一覧][スレッド一覧]

ruby-changes:20239

From: eban <ko1@a...>
Date: Wed, 29 Jun 2011 23:11:24 +0900 (JST)
Subject: [ruby-changes:20239] eban:r32287 (trunk): * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.

eban	2011-06-29 23:11:19 +0900 (Wed, 29 Jun 2011)

  New Revision: 32287

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32287

  Log:
    * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.

  Modified files:
    trunk/ChangeLog
    trunk/ext/tk/extconf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32286)
+++ ChangeLog	(revision 32287)
@@ -1,3 +1,7 @@
+Wed Jun 29 23:09:14 2011  WATANABE Hirofumi  <eban@r...>
+
+	* ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.
+
 Wed Jun 29 22:49:10 2011  Keiju Ishitsuka  <keiju@i...>
 
 	* lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760].
Index: ext/tk/extconf.rb
===================================================================
--- ext/tk/extconf.rb	(revision 32286)
+++ ext/tk/extconf.rb	(revision 32287)
@@ -2021,6 +2021,9 @@
   $defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]
   $defs << %[-DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"]
 
+  # remove harmful definitions.
+  $defs.delete_if{|x|/^-Du?intptr_t=/ =~ x}
+
   create_makefile("tcltklib")
 
   puts "\nFind Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk."

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]