mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
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)
11 lines
548 B
C
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);
|