1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 03:30:32 -04:00
ports/irc/bitchx/files/patch-source_modules.c
Niclas Zeising 531796cad1 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)
2020-08-22 13:57:23 +00:00

11 lines
548 B
C

--- 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);