From 748d7f291a420935859239bc4d1b326404a67c38 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 4 May 2020 11:11:11 +0000 Subject: - fix build with -fno-common --- comms/vrflash/files/patch-port.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 comms/vrflash/files/patch-port.h (limited to 'comms/vrflash/files/patch-port.h') diff --git a/comms/vrflash/files/patch-port.h b/comms/vrflash/files/patch-port.h new file mode 100644 index 000000000000..eecb55acdaea --- /dev/null +++ b/comms/vrflash/files/patch-port.h @@ -0,0 +1,13 @@ +--- port.h.orig 2002-10-30 04:48:37 UTC ++++ port.h +@@ -1,8 +1,8 @@ + #define PORTLOG 1 + #define NOPORTLOG 0 + +-const char *prompt1; +-const char *prompt2; ++extern const char *prompt1; ++extern const char *prompt2; + int port_open (char *filestr); + void port_init (int fd); + void port_send (int fd, char *str, int len, int log); -- cgit v1.2.3