From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/torsocks/implicit-function-decl.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 opt/torsocks/implicit-function-decl.patch (limited to 'opt/torsocks/implicit-function-decl.patch') diff --git a/opt/torsocks/implicit-function-decl.patch b/opt/torsocks/implicit-function-decl.patch new file mode 100644 index 0000000..f9fe882 --- /dev/null +++ b/opt/torsocks/implicit-function-decl.patch @@ -0,0 +1,30 @@ +--- a/src/common/config-file.c ++++ b/src/common/config-file.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + + #include "config-file.h" +@@ -56,6 +57,8 @@ static const char *isolate_username_fmt + /* Default password for the IsolatePID option. */ + static const char *isolate_password = "0"; + ++ATTR_HIDDEN ++int conf_file_set_enable_ipv6(const char *val, struct configuration *config); + /* + * Set the onion pool address range in the configuration object using the value + * found in the conf file. +--- a/src/lib/torsocks.c ++++ b/src/lib/torsocks.c +@@ -59,6 +59,8 @@ static TSOCKS_INIT_ONCE(term_once); + */ + static int is_suid; + ++ATTR_HIDDEN ++int conf_file_set_enable_ipv6(const char *val, struct configuration *config); + /* + * Cleanup and exit with the given status. Note that the lib destructor will be + * called after this call. -- cgit v1.3.1