svn commit: r557863 - in head/mail/greylite: . files
Oliver Lehmann
oliver at FreeBSD.org
Sat Dec 12 19:32:15 UTC 2020
Author: oliver
Date: Sat Dec 12 19:32:14 2020
New Revision: 557863
URL: https://svnweb.freebsd.org/changeset/ports/557863
Log:
fix build on CURRENT
make portlint a bit more happy
Added:
head/mail/greylite/files/patch-logmsg.c (contents, props changed)
head/mail/greylite/files/patch-logmsg.h (contents, props changed)
Modified:
head/mail/greylite/Makefile
Modified: head/mail/greylite/Makefile
==============================================================================
--- head/mail/greylite/Makefile Sat Dec 12 19:13:19 2020 (r557862)
+++ head/mail/greylite/Makefile Sat Dec 12 19:32:14 2020 (r557863)
@@ -16,9 +16,9 @@ RUN_DEPENDS= tcpserver:sysutils/ucspi-tcp
USES= sqlite tar:bzip2
PLIST_FILES= bin/greylite \
- %%DNSBLENV%%bin/dnsblenv \
- %%UCSPI2SOCKET%%bin/ucspi2socket \
man/man8/greylite.8.gz
+DNSBLENV_PLIST_FILES= bin/dnsblenv
+UCSPI2SOCKET_PLIST_FILES= bin/ucspi2socket
SUB_FILES= pkg-message
Added: head/mail/greylite/files/patch-logmsg.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/files/patch-logmsg.c Sat Dec 12 19:32:14 2020 (r557863)
@@ -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) {
Added: head/mail/greylite/files/patch-logmsg.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/greylite/files/patch-logmsg.h Sat Dec 12 19:32:14 2020 (r557863)
@@ -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, ...);
More information about the svn-ports-all
mailing list