You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/email/files/email-3.1.3-fno-common.patch

33 lines
560 B

--- a/include/email.h
+++ b/include/email.h
@@ -61,11 +61,11 @@
/* Globally defined vars */
-dhash table;
-char *conf_file;
-dstrbuf *global_msg;
+extern dhash table;
+extern char *conf_file;
+extern dstrbuf *global_msg;
-struct mailer_options {
+extern struct mailer_options {
bool verbose;
bool encoding;
short html;
--- a/src/email.c
+++ b/src/email.c
@@ -40,6 +40,11 @@
#include "error.h"
#include "mimeutils.h"
+dhash table;
+char *conf_file;
+dstrbuf *global_msg;
+struct mailer_options Mopts;
+
static void
defaultDestr(void *ptr)
{