mail/anubis: fix build on recent current
This commit is contained in:
parent
f088d00f2a
commit
1e1ee91950
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546393
17
mail/anubis/files/patch-src_anubisadm.h
Normal file
17
mail/anubis/files/patch-src_anubisadm.h
Normal file
@ -0,0 +1,17 @@
|
||||
--- src/anubisadm.h.orig 2020-08-27 18:29:03 UTC
|
||||
+++ src/anubisadm.h
|
||||
@@ -26,10 +26,10 @@
|
||||
|
||||
typedef int (*operation_fp) (int, char **);
|
||||
|
||||
-char *authid;
|
||||
-char *username;
|
||||
-char *rcfile;
|
||||
-char *password;
|
||||
+extern char *authid;
|
||||
+extern char *username;
|
||||
+extern char *rcfile;
|
||||
+extern char *password;
|
||||
|
||||
int op_create (int argc, char **argv);
|
||||
int op_list (int argc, char **argv);
|
11
mail/anubis/files/patch-src_rcfile.h
Normal file
11
mail/anubis/files/patch-src_rcfile.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/rcfile.h.orig 2020-08-27 18:24:43 UTC
|
||||
+++ src/rcfile.h
|
||||
@@ -213,7 +213,7 @@ typedef void (*RC_ERROR_PRINTER) (void *data,
|
||||
const char *fmt, va_list ap);
|
||||
|
||||
/* Global data */
|
||||
-struct rc_loc rc_locus;
|
||||
+extern struct rc_loc rc_locus;
|
||||
|
||||
/* Function declarations */
|
||||
void verbatim (void);
|
Loading…
Reference in New Issue
Block a user