From 995b148884ef1bf3e0bce10ccc9ba472f48f2ebf Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 17 Dec 2010 11:41:52 +0100 Subject: [PATCH] ruby 1.8.7: fix socket extension The EXTRA_OECONF trick doesn't work for 1.8.7 Signed-off-by: Koen Kooi --- .../files/disable_wide_getaddrinfo_check.patch | 16 ---------------- recipes/ruby/{files => ruby}/extmk.patch | 0 recipes/ruby/{files => ruby}/extmk_run.patch | 0 recipes/ruby/{files => ruby}/openssl.patch | 0 recipes/ruby/ruby_1.8.7-p302.bb | 4 +++- 5 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 recipes/ruby/files/disable_wide_getaddrinfo_check.patch rename recipes/ruby/{files => ruby}/extmk.patch (100%) rename recipes/ruby/{files => ruby}/extmk_run.patch (100%) rename recipes/ruby/{files => ruby}/openssl.patch (100%) diff --git a/recipes/ruby/files/disable_wide_getaddrinfo_check.patch b/recipes/ruby/files/disable_wide_getaddrinfo_check.patch deleted file mode 100644 index 82137896b9..0000000000 --- a/recipes/ruby/files/disable_wide_getaddrinfo_check.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch f667776fd8760b7048cc9617930112347b0ef2c0 -+++ packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch f667776fd8760b7048cc9617930112347b0ef2c0 -@@ -0,0 +1,13 @@ -+--- ruby-1.8.5/ext/socket/extconf.rb.orig 2006-12-30 15:12:31.000000000 +1100 -++++ ruby-1.8.5/ext/socket/extconf.rb 2006-12-30 15:16:24.000000000 +1100 -+@@ -216,6 +216,10 @@ -+ } -+ EOF -+ end -++# 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 <