You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/ruby/files/3.0/001-socksocket-fix.patch

16 lines
457 B

Fix compilation with socks5 USE flag.
Patch by Phobos Kappa in https://bugs.gentoo.org/762253
--- a/ext/socket/sockssocket.c 2020-12-25 05:33:01.000000000 +0200
+++ b/ext/socket/sockssocket.c 2020-12-28 15:42:50.310029778 +0200
@@ -34,7 +34,7 @@
init = 1;
}
- return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS, Qnil);
+ return rsock_init_inetsock(sock, host, port, Qnil, Qnil, INET_SOCKS, Qnil, Qnil);
}
#ifdef SOCKS5