termux-packages/packages/dns2tcp/duplicate_symbol.patch

12 lines
303 B
Diff
Raw Normal View History

--- ./common/includes/debug.h.orig 2021-08-19 17:33:25.204243470 +0200
+++ ./common/includes/debug.h 2021-08-19 17:33:31.160911682 +0200
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <time.h>
-int debug;
+int debug __attribute__((common));
#ifndef _WIN32
#define DPRINTF(level, fmt, args...) \