aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-07-16 20:38:40 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-07-16 20:38:40 +0000
commit967ba89df9a4f6b412856b1d3a8db9726ea832e0 (patch)
tree24b9a108997ad42bd80c9435b8052776b3267271 /mail/sendmail
parentccea878aff786b6187209ec700deb28f64bbb74f (diff)
downloadports-967ba89df9a4f6b412856b1d3a8db9726ea832e0.tar.gz
ports-967ba89df9a4f6b412856b1d3a8db9726ea832e0.zip
- fix from upstream that allows libsm to compile against FreeBSD 13
Submitted by: Gregory Shapiro Obtained from: https://svnweb.freebsd.org/changeset/base/363226
Notes
Notes: svn path=/head/; revision=542388
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/files/patch-notify.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/sendmail/files/patch-notify.c b/mail/sendmail/files/patch-notify.c
new file mode 100644
index 000000000000..49bdc25fe130
--- /dev/null
+++ b/mail/sendmail/files/patch-notify.c
@@ -0,0 +1,26 @@
+--- libsm/notify.c.orig 2020-05-19 19:54:32 UTC
++++ libsm/notify.c
+@@ -10,11 +10,6 @@
+
+ #include <sm/gen.h>
+
+-#include <sm/conf.h> /* FDSET_CAST */
+-#include <sm/fdset.h>
+-#include <sm/assert.h>
+-#include <sm/notify.h>
+-
+ #include <sys/types.h>
+ #include <signal.h>
+ #include <stdio.h>
+@@ -24,6 +19,11 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <string.h> /* for memset() */
++
++#include <sm/conf.h> /* FDSET_CAST */
++#include <sm/fdset.h>
++#include <sm/assert.h>
++#include <sm/notify.h>
+
+ #if SM_NOTIFY_DEBUG
+ #define SM_DBG(p) fprintf p