diff options
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch')
-rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch b/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch new file mode 100644 index 000000000..712602ace --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 9341293e71c03fe606edc9157bf1e13e3dd5b507 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 17 Dec 2010 11:35:38 +0100 | ||
4 | Subject: [PATCH] socket extconf: hardcode wide-getaddr info test outcome to true | ||
5 | |||
6 | Without this the socket extension doesn't build correctly | ||
7 | |||
8 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
9 | --- | ||
10 | ext/socket/extconf.rb | 5 +++++ | ||
11 | 1 file changed, 5 insertions(+) | ||
12 | |||
13 | --- a/ext/socket/extconf.rb | ||
14 | +++ b/ext/socket/extconf.rb | ||
15 | @@ -356,6 +356,11 @@ | ||
16 | exit(EXIT_FAILURE); | ||
17 | } | ||
18 | EOF | ||
19 | + | ||
20 | +# Ignore the actual result of the above test and assume that | ||
21 | +# everything is OK. | ||
22 | +getaddr_info_ok = true | ||
23 | + | ||
24 | if ipv6 and not getaddr_info_ok | ||
25 | abort <<EOS | ||
26 | |||