From edb55d8bea00e355fda55c30a8b15cbb8f536ea5 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Fri, 28 Aug 2020 20:00:39 +0000 Subject: [PATCH] comms/dsd: fix build on recent current --- comms/dsd/files/patch-dsd.h | 11 +++++++++++ comms/dsd/files/patch-dsd__main.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 comms/dsd/files/patch-dsd.h create mode 100644 comms/dsd/files/patch-dsd__main.c diff --git a/comms/dsd/files/patch-dsd.h b/comms/dsd/files/patch-dsd.h new file mode 100644 index 000000000000..c1fe4cc50c5a --- /dev/null +++ b/comms/dsd/files/patch-dsd.h @@ -0,0 +1,11 @@ +--- dsd.h.orig 2020-08-28 19:58:20 UTC ++++ dsd.h +@@ -40,7 +40,7 @@ + /* + * global variables + */ +-int exitflag; ++extern int exitflag; + + + typedef struct diff --git a/comms/dsd/files/patch-dsd__main.c b/comms/dsd/files/patch-dsd__main.c new file mode 100644 index 000000000000..cb277b4315e4 --- /dev/null +++ b/comms/dsd/files/patch-dsd__main.c @@ -0,0 +1,11 @@ +--- dsd_main.c.orig 2020-08-28 19:59:00 UTC ++++ dsd_main.c +@@ -25,6 +25,8 @@ + #include "dmr_const.h" + #include "provoice_const.h" + ++int exitflag; ++ + int + comp (const void *a, const void *b) + {