Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 19:31:35 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546808 - head/dns/dns2tcp/files
Message-ID:  <202008281931.07SJVZB3073476@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008281931.07SJVZB3073476>