opnsense-ports/mail/pgpsendmail/files/patch-pgppipe.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
522 B
C

--- 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 )
{