[oe-commits] Koen Kooi : ruby: add missing patch

git version control git at git.openembedded.org
Fri Dec 17 10:53:45 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4d10e777f2d1f3f59668453e318ad27c3af647f9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4d10e777f2d1f3f59668453e318ad27c3af647f9

Author: Koen Kooi <k-kooi at ti.com>
Date:   Fri Dec 17 11:52:14 2010 +0100

ruby: add missing patch

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 ...onf-hardcode-wide-getaddr-info-test-outco.patch |   31 ++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/recipes/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch b/recipes/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
new file mode 100644
index 0000000..64f093a
--- /dev/null
+++ b/recipes/ruby/ruby/0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
@@ -0,0 +1,31 @@
+From 9341293e71c03fe606edc9157bf1e13e3dd5b507 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen at 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 at dominion.thruhere.net>
+---
+ ext/socket/extconf.rb |    5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
+index ece6158..5fba46c 100644
+--- a/ext/socket/extconf.rb
++++ b/ext/socket/extconf.rb
+@@ -222,6 +222,11 @@ main()
+   exit(EXIT_FAILURE);
+ }
+ EOF
++
++# Ignore the actual result of the above test and assume that
++# everything is OK.
++getaddr_info_ok = true
++
+ end
+ if ipv6 and not getaddr_info_ok
+   abort <<EOS
+-- 
+1.6.6.1
+





More information about the Openembedded-commits mailing list