meta-openembedded/meta-ruby/recipes-devtools/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
Jackie Huang d67152106e ruby: update to 1.9.3-194
I sent this to oe-core but was told that it's not the right place and
was suggested to send here.

Most of the 1.9.3 patches originate from ruby-1.9.3.194-10.1.fc17.src.rpm

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-03-03 15:41:56 +01:00

27 lines
692 B
Diff

From 9341293e71c03fe606edc9157bf1e13e3dd5b507 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri, 17 Dec 2010 11:35:38 +0100
Subject: [PATCH] socket extconf: hardcode wide-getaddr info test outcome to true
Without this the socket extension doesn't build correctly
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
ext/socket/extconf.rb | 5 +++++
1 file changed, 5 insertions(+)
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -356,6 +356,11 @@
exit(EXIT_FAILURE);
}
EOF
+
+# Ignore the actual result of the above test and assume that
+# everything is OK.
+getaddr_info_ok = true
+
if ipv6 and not getaddr_info_ok
abort <<EOS