diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2020-12-12 19:32:14 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2020-12-12 19:32:14 +0000 |
commit | dba3cffec4c32760cb61055cee53885ef3d88788 (patch) | |
tree | 89853319d21b3b675c772f58e8a37bfd49d1cef4 /mail/greylite/files | |
parent | Update to 3.13.2 (diff) |
fix build on CURRENT
make portlint a bit more happy
Diffstat (limited to 'mail/greylite/files')
-rw-r--r-- | mail/greylite/files/patch-logmsg.c | 11 | ||||
-rw-r--r-- | mail/greylite/files/patch-logmsg.h | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/mail/greylite/files/patch-logmsg.c b/mail/greylite/files/patch-logmsg.c new file mode 100644 index 000000000000..9363a7faeaa3 --- /dev/null +++ b/mail/greylite/files/patch-logmsg.c @@ -0,0 +1,11 @@ +--- logmsg.c.orig 2020-12-12 20:08:57.283326000 +0000 ++++ logmsg.c 2020-12-12 20:09:24.496799000 +0000 +@@ -11,6 +11,8 @@ + char logmsg_msgbuf[LOGMSG_BUFLEN]; + int logmsg_inclpid; /* true iff process ID has to be prefixed to log msgs */ + pid_t logmsg_mypid; /* if log_prefixpid, then set to the PID of the process */ ++int loglevel; /* threshold for log messages relevance */ ++char *logprefix; + + + int logmsg_init(const char *prefix) { diff --git a/mail/greylite/files/patch-logmsg.h b/mail/greylite/files/patch-logmsg.h new file mode 100644 index 000000000000..c81adbffc53c --- /dev/null +++ b/mail/greylite/files/patch-logmsg.h @@ -0,0 +1,13 @@ +--- logmsg.h.orig 2020-12-12 20:08:48.656485000 +0000 ++++ logmsg.h 2020-12-12 20:09:08.664699000 +0000 +@@ -15,8 +15,8 @@ + #define LOG_DEBUG 7 /* debug-level messages */ + + +-int loglevel; /* threshold for log messages relevance */ +-char *logprefix; ++extern int loglevel; /* threshold for log messages relevance */ ++extern char *logprefix; + + int logmsg_init(const char *prefix); + int logmsg(int prio, char *fmt, ...); |