aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-22 14:17:09 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-22 14:17:09 +0000
commitc03f82ecb9588ab614ae1c5d6fb87850f3650786 (patch)
tree514b47f5ba66c04a7026357eb03f8f3e500a7171 /irc
parent1daa16d402ff6f70b0ba419f4f173d314177c724 (diff)
downloadports-c03f82ecb9588ab614ae1c5d6fb87850f3650786.tar.gz
ports-c03f82ecb9588ab614ae1c5d6fb87850f3650786.zip
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)
Notes
Notes: svn path=/head/; revision=545768
Diffstat (limited to 'irc')
-rw-r--r--irc/scrollz/files/patch-a8b05aab16
1 files changed, 16 insertions, 0 deletions
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 */
+ /****************************************************************************/
+