From owner-freebsd-ports@FreeBSD.ORG Wed Aug 24 06:20:04 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D766A16A41F for ; Wed, 24 Aug 2005 06:20:04 +0000 (GMT) (envelope-from elsukov@rdu.kirov.ru) Received: from mail.rdu.kirov.ru (ns.rdu.kirov.ru [217.9.151.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 140BA43D58 for ; Wed, 24 Aug 2005 06:20:03 +0000 (GMT) (envelope-from elsukov@rdu.kirov.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id A94BC115645; Wed, 24 Aug 2005 10:20:00 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id 521A415C4C; Wed, 24 Aug 2005 10:20:00 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id 134AE15C4B; Wed, 24 Aug 2005 10:20:00 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id E4E6F15C41; Wed, 24 Aug 2005 10:19:59 +0400 (MSD) Message-ID: <430C1179.1030704@rdu.kirov.ru> Date: Wed, 24 Aug 2005 10:19:37 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Jeung References: <4df2a9aded18cedb8ff5e52e37733e58@cisdata.net> In-Reply-To: <4df2a9aded18cedb8ff5e52e37733e58@cisdata.net> Content-Type: multipart/mixed; boundary="------------030808000607070807040806" Cc: freebsd-ports@freebsd.org Subject: Re: mail/exact port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 06:20:05 -0000 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 +#include #include #include #include --- 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--