mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 01:23:12 -04:00
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)
16 lines
509 B
Text
16 lines
509 B
Text
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 */
|
|
/****************************************************************************/
|
|
|