From c03f82ecb9588ab614ae1c5d6fb87850f3650786 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Sat, 22 Aug 2020 14:17:09 +0000 Subject: [PATCH] irc/scrollz: Fix build with -fno-common Fix the build of irc/scrolls with built with -fno-common, which is the default with llvm 11. Patch from a pull request to scrollz on github. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) --- irc/scrollz/files/patch-a8b05aab | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 irc/scrollz/files/patch-a8b05aab diff --git a/irc/scrollz/files/patch-a8b05aab b/irc/scrollz/files/patch-a8b05aab new file mode 100644 index 000000000000..03ec02284f94 --- /dev/null +++ b/irc/scrollz/files/patch-a8b05aab @@ -0,0 +1,16 @@ +diff --git a/include/ircterm.h b/include/ircterm.h +index 1fdbfeb..1da3fab 100644 +--- include/ircterm.h ++++ include/ircterm.h +@@ -89,9 +89,9 @@ extern char *CM, + extern int SG; + /**************************** PATCHED by Flier ******************************/ + #ifdef WANTANSI +-char *SETAF, ++extern char *SETAF, + *SETAB; +-int NUMCOLORS; ++extern int NUMCOLORS; + #endif /* WANTANSI */ + /****************************************************************************/ +