From cc48fb988e2691cc4c74028ac85a8e2080148230 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 2 Jan 2018 21:48:33 +0000 Subject: - fix regression introduced by r457706 PR: 224452 - add option BLACKLISTD https://reviews.freebsd.org/D13475 --- mail/sendmail/files/patch-main.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 mail/sendmail/files/patch-main.c (limited to 'mail/sendmail/files/patch-main.c') diff --git a/mail/sendmail/files/patch-main.c b/mail/sendmail/files/patch-main.c deleted file mode 100644 index 47e637162bde..000000000000 --- a/mail/sendmail/files/patch-main.c +++ /dev/null @@ -1,26 +0,0 @@ ---- sendmail/main.c.orig 2016-06-12 18:24:56.170900000 -0400 -+++ sendmail/main.c 2016-06-12 18:30:07.426701000 -0400 -@@ -4642,3 +4642,23 @@ - sm_etype_printf, - "quick abort %0", - }; -+ -+#ifdef USE_BLACKLIST -+static struct blacklist *blstate; -+ -+void -+blacklist_init(void) -+{ -+ blstate = blacklist_open(); -+} -+ -+void -+blacklist_notify(int a, int fd, char *msg) -+{ -+ if (blstate == NULL) -+ blacklist_init(); -+ if (blstate == NULL) -+ return; -+ (void)blacklist_r(blstate, a, fd, msg); -+} -+#endif -- cgit v1.2.3