mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
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)
This commit is contained in:
parent
6d32a82ea2
commit
531796cad1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545766
10
irc/bitchx/files/patch-source_commands.c
Normal file
10
irc/bitchx/files/patch-source_commands.c
Normal file
@ -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[];
|
11
irc/bitchx/files/patch-source_modules.c
Normal file
11
irc/bitchx/files/patch-source_modules.c
Normal file
@ -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);
|
10
irc/bitchx/files/patch-source_numbers.c
Normal file
10
irc/bitchx/files/patch-source_numbers.c
Normal file
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user