aboutsummaryrefslogtreecommitdiff
path: root/mail/anubis
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 18:31:08 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 18:31:08 +0000
commit1e1ee91950969791d575c952d6ae83b80dcc3735 (patch)
treea6a2952c787179ee20c3d221cbd20e66d0eb456c /mail/anubis
parentf088d00f2ad89161b5a9ccf79d63a4337234b0b5 (diff)
downloadports-1e1ee91950969791d575c952d6ae83b80dcc3735.tar.gz
ports-1e1ee91950969791d575c952d6ae83b80dcc3735.zip
mail/anubis: fix build on recent current
Notes
Notes: svn path=/head/; revision=546393
Diffstat (limited to 'mail/anubis')
-rw-r--r--mail/anubis/files/patch-src_anubisadm.h17
-rw-r--r--mail/anubis/files/patch-src_rcfile.h11
2 files changed, 28 insertions, 0 deletions
diff --git a/mail/anubis/files/patch-src_anubisadm.h b/mail/anubis/files/patch-src_anubisadm.h
new file mode 100644
index 000000000000..46f435332ec3
--- /dev/null
+++ b/mail/anubis/files/patch-src_anubisadm.h
@@ -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);
diff --git a/mail/anubis/files/patch-src_rcfile.h b/mail/anubis/files/patch-src_rcfile.h
new file mode 100644
index 000000000000..8b8e005f3f06
--- /dev/null
+++ b/mail/anubis/files/patch-src_rcfile.h
@@ -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);