ruby-changes:29591
From: usa <ko1@a...>
Date: Wed, 26 Jun 2013 16:13:42 +0900 (JST)
Subject: [ruby-changes:29591] usa:r41643 (ruby_1_9_3): merge revision(s) 41266: [Backport #8517]
usa 2013-06-26 16:12:18 +0900 (Wed, 26 Jun 2013) New Revision: 41643 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41643 Log: merge revision(s) 41266: [Backport #8517] * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X 10.7+. [ruby-trunk - Bug #8517] Modified directories: branches/ruby_1_9_3/ Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/ext/socket/extconf.rb branches/ruby_1_9_3/version.h Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 41642) +++ ruby_1_9_3/ChangeLog (revision 41643) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1 +Wed Jun 26 16:10:01 2013 Eric Hodel <drbrain@s...> + + * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X + 10.7+. [ruby-trunk - Bug #8517] + Tue Jun 25 21:54:17 2013 NAKAMURA Usaku <usa@r...> * gc.c: Fixup around GC by MALLOC. Index: ruby_1_9_3/ext/socket/extconf.rb =================================================================== --- ruby_1_9_3/ext/socket/extconf.rb (revision 41642) +++ ruby_1_9_3/ext/socket/extconf.rb (revision 41643) @@ -24,6 +24,12 @@ else https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ext/socket/extconf.rb#L24 have_library("socket", "socket") end +if /darwin/ =~ RUBY_PLATFORM + # For IPv6 extension header access on OS X 10.7+ [Bug #8517] + $CFLAGS << " -D__APPLE_USE_RFC_3542" +end + +headers = [] unless $mswin or $bccwin or $mingw headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h> end Index: ruby_1_9_3/version.h =================================================================== --- ruby_1_9_3/version.h (revision 41642) +++ ruby_1_9_3/version.h (revision 41643) @@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1 #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 435 +#define RUBY_PATCHLEVEL 436 #define RUBY_RELEASE_DATE "2013-06-26" #define RUBY_RELEASE_YEAR 2013 Property changes on: ruby_1_9_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r41266 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/