From owner-freebsd-stable Mon Oct 15 8: 5:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id B251A37B412 for ; Mon, 15 Oct 2001 08:05:53 -0700 (PDT) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id IAA31134 for ; Mon, 15 Oct 2001 08:05:53 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda31116; Mon Oct 15 08:05:49 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.6/8.9.1) id f9FF5nU77204 for ; Mon, 15 Oct 2001 08:05:49 -0700 (PDT) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdx77166; Mon Oct 15 08:05:38 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.6/8.9.1) id f9FF5b801848 for ; Mon, 15 Oct 2001 08:05:37 -0700 (PDT) Message-Id: <200110151505.f9FF5b801848@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdfA1800; Mon Oct 15 08:04:54 2001 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: "Freebsd Stable" Subject: Re: Aide 0.7 port problem on snapshot 4.4-20011010-STABLE In-reply-to: Your message of "Fri, 12 Oct 2001 07:23:30 CDT." Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_11078475740" Date: Mon, 15 Oct 2001 08:04:54 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multipart MIME message. --==_Exmh_11078475740 Content-Type: text/plain; charset=us-ascii In message , "Stephen Hilton " writes: > On a fresh install of FreeBSD snapshot 4.4-20011010-STABLE the first port I > tried to build is Aide 0.7, bison, mhash, gettext, gettext-devel, autoconf, > all installed O.K. but aide fails to compile on the file > /usr/ports/security/aide/work/aide-0.7/src/conf_yacc.h line 1. > > I do not have a copy of the error message as I was on site and time was > short, but the message referred to a "macro that starts with punctuation". I > was able to vi out lines 1 and 2 and the last line from conf_yacc.h (ifdef > statement) and run make again with success, but am not sure if the binary is > "correct" now. Sorry for the late reply. First day back after a long bout with the flu. Put the attached file into the files directory of the bison port, deinstall/build/install the bison port, then build/install aide. I've sent this patch to the maintainer of the bison port along with confirmation from one happy aide user that the patch fixed his problem, however I've received no reply. I suppose I should submit a PR. P.S. My MUA (exmh) may have munged the patch by placing a "- " before any line that originally started with "-". If this is the case, please before using the patch, sed -an 's/^- -/-/; w patch-file.c' patch-file.c Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD Ministry of Management Services Province of BC --==_Exmh_11078475740 Content-Type: text/plain ; name="patch-files.c"; charset=us-ascii Content-Description: patch-files.c Content-Disposition: attachment; filename="patch-files.c" --- src/files.c.orig Wed Aug 15 01:53:15 2001 +++ src/files.c Mon Sep 24 19:58:50 2001 @@ -104,7 +104,9 @@ strcat (macro_name, header_extension); for (ite = 0; macro_name[ite]; ite++) - if (macro_name[ite] == '.') + if (!((macro_name[ite] >= '0' && macro_name[ite] <= '9') || + (macro_name[ite] >= 'A' && macro_name[ite] <= 'Z') || + (macro_name[ite] >= 'a' && macro_name[ite] <= 'z'))) macro_name[ite] = '_'; else { --==_Exmh_11078475740-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message