summaryrefslogtreecommitdiff
path: root/packages/ruby/files/disable_wide_getaddrinfo_check.patch
blob: 82137896b9396293f593b0b4511fe8a3483fa5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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 <<EOS
+