summaryrefslogtreecommitdiff
path: root/mail/pgpsendmail/files/patch-spawn.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-07 14:42:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-07 14:42:20 +0000
commita0d9dff4cbee989c586a00618d750ea11e38697a (patch)
treed82742a0ded5253798bd3eb146c2b5e6c6100e66 /mail/pgpsendmail/files/patch-spawn.c
parent- Fix build with clang (diff)
- Fix build with clang
- Support PLIST_FILES - Add LICENSE - Add MAKE_JOBS_SAFE - Trim header PR: 175046 Submitted by: ports fury
Notes
Notes: svn path=/head/; revision=311854
Diffstat (limited to '')
-rw-r--r--mail/pgpsendmail/files/patch-spawn.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/pgpsendmail/files/patch-spawn.c b/mail/pgpsendmail/files/patch-spawn.c
new file mode 100644
index 000000000000..7af6f8be37ee
--- /dev/null
+++ b/mail/pgpsendmail/files/patch-spawn.c
@@ -0,0 +1,21 @@
+--- spawn.c.orig 1994-12-03 15:02:30.000000000 +0900
++++ spawn.c 2012-10-24 15:59:57.000000000 +0900
+@@ -49,6 +49,8 @@
+
+ */
+ #include <stdio.h>
++#include <sys/types.h>
++#include <unistd.h>
+ #include "pgpsendmail.h"
+
+
+@@ -79,7 +81,9 @@
+ int child_pid;
+ int in_fds[2], out_fds[2], err_fds[2];
+ ERRNO_TYPE errno;
++#if 0
+ extern char *sys_errlist[];
++#endif
+
+ if (*in_fd < 0)
+ {