mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 10:03:10 -04:00
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)
This commit is contained in:
parent
1daa16d402
commit
c03f82ecb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545768
1 changed files with 16 additions and 0 deletions
16
irc/scrollz/files/patch-a8b05aab
Normal file
16
irc/scrollz/files/patch-a8b05aab
Normal file
|
@ -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 */
|
||||||
|
/****************************************************************************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue