summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/files/ruby-1.8.0_pre2-socks.patch')
-rw-r--r--dev-lang/ruby/files/ruby-1.8.0_pre2-socks.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/ruby-1.8.0_pre2-socks.patch b/dev-lang/ruby/files/ruby-1.8.0_pre2-socks.patch
new file mode 100644
index 000000000000..7f7495e82a44
--- /dev/null
+++ b/dev-lang/ruby/files/ruby-1.8.0_pre2-socks.patch
@@ -0,0 +1,11 @@
+--- ruby-1.8.0/ext/socket/socket.c.old 2003-01-16 02:47:50.000000000 -0500
++++ ruby-1.8.0/ext/socket/socket.c 2003-05-22 15:06:31.000000000 -0400
+@@ -991,7 +991,7 @@
+ init = 1;
+ }
+
+- return init_inetsock(class, host, serv, Qnil, Qnil, INET_SOCKS);
++ return init_inetsock(sock, host, serv, Qnil, Qnil, INET_SOCKS);
+ }
+
+ #ifdef SOCKS5