From 0d0cbeb9ef04fc5b2fb1c6cacaf272e1f5d217f6 Mon Sep 17 00:00:00 2001 From: schmonz Date: Mon, 17 Dec 2018 02:33:13 +0000 Subject: Avoid conflicting declarations of fork() and vfork(). Should fix SmartOS. --- mail/ezmlm/distinfo | 3 ++- mail/ezmlm/patches/patch-fork.h2 | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mail/ezmlm/patches/patch-fork.h2 (limited to 'mail') diff --git a/mail/ezmlm/distinfo b/mail/ezmlm/distinfo index 5b3d35c1a92..88866763297 100644 --- a/mail/ezmlm/distinfo +++ b/mail/ezmlm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2017/07/26 02:02:23 schmonz Exp $ +$NetBSD: distinfo,v 1.8 2018/12/17 02:33:13 schmonz Exp $ SHA1 (ezmlm-0.53.tar.gz) = 3a7b618737fed8b774bec69c272d70f4142c1e30 RMD160 (ezmlm-0.53.tar.gz) = 6d366de2d7028a984ba454f1bec9d2d9f495c88b @@ -8,6 +8,7 @@ SHA1 (patch-MAN) = df107f569c8d67b0a379c108153ea91ba97283e4 SHA1 (patch-Makefile) = 7ad560d4005e737fb97166e89114a72eb65bbb82 SHA1 (patch-ezmlm-manage.c) = 727d313baa5c38e784096fb9fb3354e53d0338d9 SHA1 (patch-ezmlm-return.c) = a3af924b10cc61b703abe2b10f572292505325c3 +SHA1 (patch-fork.h2) = 1d3f5f8ae8eb0cfd5009e4e584b7bf43ddef8c9f SHA1 (patch-log.c) = 1b155a4d3a36d23c2bdbc0b9ecd755f68b7ae9ca SHA1 (patch-log.h) = ef7f4795b7a6d14a8038c06300c738c76a3cdf4f SHA1 (patch-readwrite.h) = 5b64a802b1d4491ed9e64cde42fe04703b410d6e diff --git a/mail/ezmlm/patches/patch-fork.h2 b/mail/ezmlm/patches/patch-fork.h2 new file mode 100644 index 00000000000..191e4c260cc --- /dev/null +++ b/mail/ezmlm/patches/patch-fork.h2 @@ -0,0 +1,15 @@ +$NetBSD: patch-fork.h2,v 1.1 2018/12/17 02:33:13 schmonz Exp $ + +Avoid conflicting declarations. + +--- fork.h2.orig 1997-06-30 03:11:54.000000000 +0000 ++++ fork.h2 +@@ -1,7 +1,6 @@ + #ifndef FORK_H + #define FORK_H + +-extern int fork(); +-extern int vfork(); ++#include + + #endif -- cgit v1.2.3