mail/exact port
Andrey V. Elsukov
elsukov at rdu.kirov.ru
Wed Aug 24 06:20:05 GMT 2005
Michael Jeung wrote:
> Most of the time the ports usually work right out of the box, as it were.
Try this patch. Put it into ports/mail/exact/files/
--
WBR, Andrey V. Elsukov
-------------- next part --------------
--- apconf.c.orig Sat Feb 19 21:05:40 2005
+++ apconf.c Sat Feb 19 21:05:54 2005
@@ -6,6 +6,7 @@
*/
#include <stdio.h>
+#include <sys/types.h>
#include <regex.h>
#include <string.h>
#include <stdlib.h>
--- apconf.c.orig Wed Aug 24 10:11:06 2005
+++ apconf.c Wed Aug 24 10:13:43 2005
@@ -160,7 +160,7 @@
logger(LOG_ERR, "Out of memory.");
return NULL;
}
- memset(a, 0, sizeof(a));
+ memset(a, 0, sizeof(apconf));
while(!feof(f)) {
s=parse_rule_section(f);
if(s == NULL)
More information about the freebsd-ports
mailing list