Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / ruby / ruby / 0001-openembedded-socket-extconf-hardcode-wide-getaddr-in.patch
1 From e6a66a83233eead74daab6bfe0390c70989ea110 Mon Sep 17 00:00:00 2001
2 From: "Sar Ashki, Babak" <Babak.SarAshki@windriver.com>
3 Date: Tue, 24 Mar 2020 14:47:02 -0700
4 Subject: [PATCH] openembedded socket extconf: hardcode wide getaddr info
5
6 From 9341293e71c03fe606edc9157bf1e13e3dd5b507
7 Without this the socket extension doesn't build correctly
8 ---
9  ext/socket/extconf.rb | 6 ++++++
10  1 file changed, 6 insertions(+)
11
12 diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
13 index 13937ac773..775d63335d 100644
14 --- a/ext/socket/extconf.rb
15 +++ b/ext/socket/extconf.rb
16 @@ -362,6 +362,12 @@ main(void)
17    return EXIT_FAILURE;
18  }
19  EOF
20 +
21 +
22 +# Ignore the actual result of the above test and assume that
23 +# everything is OK.
24 +getaddr_info_ok = true
25 +
26  if ipv6 and not getaddr_info_ok
27    abort <<EOS
28  
29 -- 
30 2.23.0
31