summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-04 03:49:13 +0000
committerSam James <sam@gentoo.org>2023-01-04 04:31:57 +0000
commitc0248a88bb85e2d2c1067954eeb768e1eadfcd0d (patch)
tree178e1d3e1601dba795ac6fe3c27232b8e74981ad /net-proxy/torsocks/files
parentnet-proxy/torsocks: drop 2.3.0 (diff)
downloadgentoo-c0248a88bb85e2d2c1067954eeb768e1eadfcd0d.tar.gz
gentoo-c0248a88bb85e2d2c1067954eeb768e1eadfcd0d.tar.bz2
gentoo-c0248a88bb85e2d2c1067954eeb768e1eadfcd0d.zip
net-proxy/torsocks: fix build w/ clang 16
Closes: https://bugs.gentoo.org/881077 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/torsocks/files')
-rw-r--r--net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch b/net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch
new file mode 100644
index 000000000000..3bedd71dc736
--- /dev/null
+++ b/net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/881077
+https://gitlab.torproject.org/tpo/core/torsocks/-/issues/40014
+https://lists.torproject.org/pipermail/tor-dev/2022-December/014790.html
+--- a/src/common/config-file.h
++++ b/src/common/config-file.h
+@@ -109,6 +109,7 @@ int conf_file_set_allow_inbound(const char *val, struct configuration *config);
+ int conf_file_set_allow_outbound_localhost(const char *val, struct
+ configuration *config);
+ int conf_file_set_isolate_pid(const char *val, struct configuration *config);
++int conf_file_set_enable_ipv6(const char *val, struct configuration *config);
+
+ int conf_apply_socks_auth(struct configuration *config);
+