mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
net-proxy/torsocks: fix build w/ clang 16
Closes: https://bugs.gentoo.org/881077 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST torsocks-2.4.0.tar.gz 118991 BLAKE2B e1817c3bbf10f83431292c644d7187e40b62c5f223784074b3f9c082d8d75243090e226ffebb6fd81805fbd887588790833adc4ab8923e8116585c0a29255ad0 SHA512 7d625ce3a4600f87b86ae9ac79dfd206e7709cb0bafe0b7afcf33a6f1825f968cc63ad3e23c584582b244647bdeafbfdbfc54f7c81e521b0a3d278a1483ce86e
|
||||
DIST torsocks-2.4.0-r1.tar.gz 118991 BLAKE2B e1817c3bbf10f83431292c644d7187e40b62c5f223784074b3f9c082d8d75243090e226ffebb6fd81805fbd887588790833adc4ab8923e8116585c0a29255ad0 SHA512 7d625ce3a4600f87b86ae9ac79dfd206e7709cb0bafe0b7afcf33a6f1825f968cc63ad3e23c584582b244647bdeafbfdbfc54f7c81e521b0a3d278a1483ce86e
|
||||
|
||||
13
net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch
Normal file
13
net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch
Normal file
@@ -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);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -21,6 +21,10 @@ IUSE="static-libs"
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.4.0-clang16.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Disable tests requiring network access.
|
||||
local test
|
||||
Reference in New Issue
Block a user