openbsd-ports/mail/metamail/patches/patch-src_metamail_shared_c
sthen cedf61320a use WRKSRC not WRKDIST and regen patches
no need for groff
regen plist
use SUBST_CMD rather than handrolled %%SYSCONFDIR%% subst
2012-03-17 10:57:23 +00:00

19 lines
488 B
Plaintext

$OpenBSD: patch-src_metamail_shared_c,v 1.1 2012/03/17 10:57:23 sthen Exp $
--- src/metamail/shared.c.orig Sun May 16 19:19:32 1993
+++ src/metamail/shared.c Sat Mar 17 10:51:52 2012
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <ctype.h>
#include <config.h>
#ifdef SYSV
@@ -6,7 +8,6 @@
#include <sys/utsname.h>
#endif
-extern char *malloc();
char **Exceptions;
int *NeedsPortableNewlines;
int ExceptionsAlloced = 0, ExceptionsUsed = 0;