Skip to content

Commit 9fb5a1c

Browse files
committed
merge revision(s) 41266: [Backport ruby#8517]
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X 10.7+. [ruby-trunk - Bug ruby#8517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 113d359 commit 9fb5a1c

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jun 16 01:22:35 2013 Eric Hodel <[email protected]>
2+
3+
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
4+
10.7+. [ruby-trunk - Bug #8517]
5+
16
Sun Jun 16 01:11:10 2013 Koichi Sasada <[email protected]>
27

38
* compile.c (rb_iseq_compile_node): fix location of a `trace'

ext/socket/extconf.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
have_library("socket", "socket")
2424
end
2525

26+
if /darwin/ =~ RUBY_PLATFORM
27+
# For IPv6 extension header access on OS X 10.7+ [Bug #8517]
28+
$CFLAGS << " -D__APPLE_USE_RFC_3542"
29+
end
30+
31+
headers = []
2632
unless $mswin or $bccwin or $mingw
2733
headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>
2834
end

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.0.0"
22
#define RUBY_RELEASE_DATE "2013-06-16"
3-
#define RUBY_PATCHLEVEL 219
3+
#define RUBY_PATCHLEVEL 220
44

55
#define RUBY_RELEASE_YEAR 2013
66
#define RUBY_RELEASE_MONTH 6

0 commit comments

Comments
 (0)