diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-29 11:34:20 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-29 11:34:57 +0100 |
commit | 628ac95758dbf75a9008e370c032890355eca716 (patch) | |
tree | f56678e985e442035ccadff12a8e5451b5dcaa85 /dev-lang/ruby/files | |
parent | sys-devel/gcc: 10.2.0: cut 6 patchset (diff) | |
download | gentoo-628ac95758dbf75a9008e370c032890355eca716.tar.gz gentoo-628ac95758dbf75a9008e370c032890355eca716.tar.bz2 gentoo-628ac95758dbf75a9008e370c032890355eca716.zip |
dev-lang/ruby: fix compilation with USE=socks5
Thanks to Phobos Kappa for providing the patch both to use and upstream.
Closes: https://bugs.gentoo.org/762253
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-lang/ruby/files')
-rw-r--r-- | dev-lang/ruby/files/3.0/001-socksocket-fix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/ruby/files/3.0/001-socksocket-fix.patch b/dev-lang/ruby/files/3.0/001-socksocket-fix.patch new file mode 100644 index 000000000000..1a79e25491cc --- /dev/null +++ b/dev-lang/ruby/files/3.0/001-socksocket-fix.patch @@ -0,0 +1,15 @@ +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 |