summaryrefslogtreecommitdiffstats
path: root/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2012-10-16 08:34:41 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-26 14:09:56 +0100
commitd04b996ec223465729920ec3599b53dabb3ceb05 (patch)
treec4d82d0bbaa01bd41e934a2177803d87b3778d18 /meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
parenta1e6087f092e09d85928440ba86857061abcc65b (diff)
downloadmeta-openembedded-d04b996ec223465729920ec3599b53dabb3ceb05.tar.gz
ruby: Add from OE-Classic
* No modifications in this commit * MJ: PR reset, PRIORITY dropped, LICENSE fix, LIC_FILES_CHKSUMs added Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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.patch31
1 files changed, 31 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..64f093a4f
--- /dev/null
+++ b/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
@@ -0,0 +1,31 @@
1From 9341293e71c03fe606edc9157bf1e13e3dd5b507 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 17 Dec 2010 11:35:38 +0100
4Subject: [PATCH] socket extconf: hardcode wide-getaddr info test outcome to true
5
6Without this the socket extension doesn't build correctly
7
8Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
9---
10 ext/socket/extconf.rb | 5 +++++
11 1 files changed, 5 insertions(+), 0 deletions(-)
12
13diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
14index ece6158..5fba46c 100644
15--- a/ext/socket/extconf.rb
16+++ b/ext/socket/extconf.rb
17@@ -222,6 +222,11 @@ main()
18 exit(EXIT_FAILURE);
19 }
20 EOF
21+
22+# Ignore the actual result of the above test and assume that
23+# everything is OK.
24+getaddr_info_ok = true
25+
26 end
27 if ipv6 and not getaddr_info_ok
28 abort <<EOS
29--
301.6.6.1
31