Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 10:19:37 +0400
From:      "Andrey V. Elsukov" <elsukov@rdu.kirov.ru>
To:        Michael Jeung <mjeung@cisdata.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mail/exact port
Message-ID:  <430C1179.1030704@rdu.kirov.ru>
In-Reply-To: <4df2a9aded18cedb8ff5e52e37733e58@cisdata.net>
References:  <4df2a9aded18cedb8ff5e52e37733e58@cisdata.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030808000607070807040806
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------030808000607070807040806
Content-Type: text/plain;
 name="patch-apconf.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-apconf.c"

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

--------------030808000607070807040806--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430C1179.1030704>