summaryrefslogtreecommitdiff
path: root/mail/pgpsendmail/files/patch-pgppipe.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-pgppipe.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 'mail/pgpsendmail/files/patch-pgppipe.c')
-rw-r--r--mail/pgpsendmail/files/patch-pgppipe.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/pgpsendmail/files/patch-pgppipe.c b/mail/pgpsendmail/files/patch-pgppipe.c
new file mode 100644
index 000000000000..b5b833260724
--- /dev/null
+++ b/mail/pgpsendmail/files/patch-pgppipe.c
@@ -0,0 +1,21 @@
+--- pgppipe.c.orig 1994-12-07 20:03:39.000000000 +0900
++++ pgppipe.c 2012-10-24 16:20:24.000000000 +0900
+@@ -52,7 +52,7 @@
+ #include "pgpsendmail.h"
+
+
+-void main (argc, argv, envp)
++int main (argc, argv, envp)
+ int argc;
+ char *argv[];
+ char *envp[];
+@@ -67,7 +67,9 @@
+ char *pgp_start_line = "-----BEGIN PGP MESSAGE-----\n";
+ char *pgp_end_line = "-----END PGP MESSAGE-----\n";
+ ERRNO_TYPE errno;
++#if 0
+ extern char *sys_errlist[];
++#endif
+
+ if ( ( pgppath = getenv ("PGPPATH") ) == NULL )
+ {