diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-08-28 19:31:35 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-08-28 19:31:35 +0000 |
commit | 6cacd009708c3fd85d6f61c5d587428e5036440f (patch) | |
tree | 23ff842d273dbdd8df63e17fd365afb07aa6bd1c /dns | |
parent | ea7cc70e0b5cef67b45187745d6c7301cdae46be (diff) | |
download | ports-6cacd009708c3fd85d6f61c5d587428e5036440f.tar.gz ports-6cacd009708c3fd85d6f61c5d587428e5036440f.zip |
dns/dns2tcp: fix build on recent curent
Notes
Notes:
svn path=/head/; revision=546808
Diffstat (limited to 'dns')
-rw-r--r-- | dns/dns2tcp/files/patch-client_main.c | 11 | ||||
-rw-r--r-- | dns/dns2tcp/files/patch-common_includes_debug.h | 11 | ||||
-rw-r--r-- | dns/dns2tcp/files/patch-server_main.c | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/dns/dns2tcp/files/patch-client_main.c b/dns/dns2tcp/files/patch-client_main.c new file mode 100644 index 000000000000..4c23db06f25b --- /dev/null +++ b/dns/dns2tcp/files/patch-client_main.c @@ -0,0 +1,11 @@ +--- client/main.c.orig 2020-08-28 19:28:55 UTC ++++ client/main.c +@@ -36,6 +36,8 @@ + #include "myerror.h" + #include "dns.h" + ++int debug; ++ + /** + * @brief main part + * @retval 0 on success diff --git a/dns/dns2tcp/files/patch-common_includes_debug.h b/dns/dns2tcp/files/patch-common_includes_debug.h new file mode 100644 index 000000000000..d8fe8062d212 --- /dev/null +++ b/dns/dns2tcp/files/patch-common_includes_debug.h @@ -0,0 +1,11 @@ +--- common/includes/debug.h.orig 2020-08-28 19:24:48 UTC ++++ common/includes/debug.h +@@ -24,7 +24,7 @@ + #include <stdio.h> + #include <time.h> + +-int debug; ++extern int debug; + + #ifndef _WIN32 + #define DPRINTF(level, fmt, args...) \ diff --git a/dns/dns2tcp/files/patch-server_main.c b/dns/dns2tcp/files/patch-server_main.c new file mode 100644 index 000000000000..cbcaf7f39f29 --- /dev/null +++ b/dns/dns2tcp/files/patch-server_main.c @@ -0,0 +1,11 @@ +--- server/main.c.orig 2020-08-28 19:28:55 UTC ++++ server/main.c +@@ -42,6 +42,8 @@ + #include "myerror.h" + #include "log.h" + ++int debug; ++ + int detach_process(t_conf *conf) + { + int fd; |