Date: Sat, 22 Aug 2020 13:57:23 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545766 - head/irc/bitchx/files Message-ID: <202008221357.07MDvNbT075220@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Sat Aug 22 13:57:23 2020 New Revision: 545766 URL: https://svnweb.freebsd.org/changeset/ports/545766 Log: irc/bitchx: Fix build with -fno-common Fix the build of irc/bitchx with -fno-common, which is the default with llvm 11. Patches originally from the fedora project. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) Added: head/irc/bitchx/files/ head/irc/bitchx/files/patch-source_commands.c (contents, props changed) head/irc/bitchx/files/patch-source_modules.c (contents, props changed) head/irc/bitchx/files/patch-source_numbers.c (contents, props changed) Added: head/irc/bitchx/files/patch-source_commands.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/bitchx/files/patch-source_commands.c Sat Aug 22 13:57:23 2020 (r545766) @@ -0,0 +1,10 @@ +--- source/commands.c.orig 2014-11-04 10:54:23 UTC ++++ source/commands.c +@@ -118,7 +118,6 @@ extern int doing_notice; + + static void oper_password_received (char *, char *); + +-int no_hook_notify = 0; + int load_depth = -1; + + extern char cx_function[]; Added: head/irc/bitchx/files/patch-source_modules.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/bitchx/files/patch-source_modules.c Sat Aug 22 13:57:23 2020 (r545766) @@ -0,0 +1,11 @@ +--- source/modules.c.orig 2010-06-26 08:18:34 UTC ++++ source/modules.c +@@ -83,7 +83,7 @@ extern int (*dcc_output_func) (int, int, char *, int); + extern int (*dcc_input_func) (int, int, char *, int, int); + extern int (*dcc_close_func) (int, unsigned long, int); + +-int (*serv_open_func) (int, unsigned long, int); ++extern int (*serv_open_func) (int, unsigned long, int); + extern int (*serv_output_func) (int, int, char *, int); + extern int (*serv_input_func) (int, char *, int, int, int); + extern int (*serv_close_func) (int, unsigned long, int); Added: head/irc/bitchx/files/patch-source_numbers.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/bitchx/files/patch-source_numbers.c Sat Aug 22 13:57:23 2020 (r545766) @@ -0,0 +1,10 @@ +--- source/numbers.c.orig 2014-11-14 10:34:50 UTC ++++ source/numbers.c +@@ -66,7 +66,6 @@ void show_server_map (void); + int stats_k_grep (char **); + void who_handlekill (char *, char *, char *); + void handle_tracekill (int, char *, char *, char *); +-int no_hook_notify; + extern AJoinList *ajoin_list; + void remove_from_server_list (int); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008221357.07MDvNbT075220>