summaryrefslogtreecommitdiff
path: root/net-im/toxic/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/toxic/files')
-rw-r--r--net-im/toxic/files/patch-Makefile4
-rw-r--r--net-im/toxic/files/patch-cfg_global__vars.mk6
-rw-r--r--net-im/toxic/files/patch-src_main.c23
3 files changed, 28 insertions, 5 deletions
diff --git a/net-im/toxic/files/patch-Makefile b/net-im/toxic/files/patch-Makefile
index 26f08944f975..08559d6285cb 100644
--- a/net-im/toxic/files/patch-Makefile
+++ b/net-im/toxic/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2019-07-14 18:05:38 UTC
+--- Makefile.orig 2025-01-09 14:41:43 UTC
+++ Makefile
-@@ -23,6 +23,10 @@ UNAME_S = $(shell uname -s)
+@@ -38,6 +38,10 @@ endif
ifeq ($(UNAME_S), Linux)
LDFLAGS += -ldl -lrt
endif
diff --git a/net-im/toxic/files/patch-cfg_global__vars.mk b/net-im/toxic/files/patch-cfg_global__vars.mk
index b5bec75e4a7a..f4a1d953f96a 100644
--- a/net-im/toxic/files/patch-cfg_global__vars.mk
+++ b/net-im/toxic/files/patch-cfg_global__vars.mk
@@ -1,8 +1,8 @@
---- cfg/global_vars.mk.orig 2018-10-30 22:03:44 UTC
+--- cfg/global_vars.mk.orig 2025-01-09 14:41:43 UTC
+++ cfg/global_vars.mk
-@@ -1,11 +1,6 @@
+@@ -1,11 +1,6 @@ TOXIC_VERSION = 0.16.1
# Version
- TOXIC_VERSION = 0.8.3
+ TOXIC_VERSION = 0.16.1
-REV = $(shell git rev-list HEAD --count 2>/dev/null || echo -n "error")
-ifneq (, $(findstring error, $(REV)))
- VERSION = $(TOXIC_VERSION)
diff --git a/net-im/toxic/files/patch-src_main.c b/net-im/toxic/files/patch-src_main.c
new file mode 100644
index 000000000000..e9ba5f448454
--- /dev/null
+++ b/net-im/toxic/files/patch-src_main.c
@@ -0,0 +1,23 @@
+--- src/main.c.orig 2025-01-09 14:41:43 UTC
++++ src/main.c
+@@ -477,7 +477,7 @@ static void init_tox_options(const Run_Options *run_op
+ tox_options_set_tcp_port(tox_opts, run_opts->tcp_port);
+ tox_options_set_local_discovery_enabled(tox_opts, !run_opts->disable_local_discovery);
+ tox_options_set_experimental_groups_persistence(tox_opts, true);
+- tox_options_set_experimental_disable_dns(tox_opts, false);
++ // tox_options_set_experimental_disable_dns(tox_opts, false);
+
+ if (run_opts->logging) {
+ tox_options_set_log_callback(tox_opts, cb_toxcore_logger);
+@@ -508,9 +508,10 @@ static void init_tox_options(const Run_Options *run_op
+ }
+
+ if (!tox_options_get_udp_enabled(tox_opts)) {
++ /*
+ if (proxy_set) {
+ tox_options_set_experimental_disable_dns(tox_opts, true);
+- }
++ } */
+
+ init_queue_add(init_q, "UDP disabled");
+ } else if (proxy_set) {