svn commit: r546808 - head/dns/dns2tcp/files

Tobias C. Berner tcberner at FreeBSD.org
Fri Aug 28 19:31:36 UTC 2020


Author: tcberner
Date: Fri Aug 28 19:31:35 2020
New Revision: 546808
URL: https://svnweb.freebsd.org/changeset/ports/546808

Log:
  dns/dns2tcp: fix build on recent curent

Added:
  head/dns/dns2tcp/files/
  head/dns/dns2tcp/files/patch-client_main.c   (contents, props changed)
  head/dns/dns2tcp/files/patch-common_includes_debug.h   (contents, props changed)
  head/dns/dns2tcp/files/patch-server_main.c   (contents, props changed)

Added: head/dns/dns2tcp/files/patch-client_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2tcp/files/patch-client_main.c	Fri Aug 28 19:31:35 2020	(r546808)
@@ -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

Added: head/dns/dns2tcp/files/patch-common_includes_debug.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2tcp/files/patch-common_includes_debug.h	Fri Aug 28 19:31:35 2020	(r546808)
@@ -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...)  \

Added: head/dns/dns2tcp/files/patch-server_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/dns2tcp/files/patch-server_main.c	Fri Aug 28 19:31:35 2020	(r546808)
@@ -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;


More information about the svn-ports-all mailing list