summaryrefslogtreecommitdiff
path: root/mail/greylite/files/patch-logmsg.c
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2020-12-12 19:32:14 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2020-12-12 19:32:14 +0000
commitdba3cffec4c32760cb61055cee53885ef3d88788 (patch)
tree89853319d21b3b675c772f58e8a37bfd49d1cef4 /mail/greylite/files/patch-logmsg.c
parentUpdate to 3.13.2 (diff)
fix build on CURRENT
make portlint a bit more happy
Notes
Notes: svn path=/head/; revision=557863
Diffstat (limited to 'mail/greylite/files/patch-logmsg.c')
-rw-r--r--mail/greylite/files/patch-logmsg.c11
1 files changed, 11 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) {