[syslog-ng]syslog-ng-1.5.15 with tcp-wrapper support
Balazs Scheidler
bazsi@balabit.hu
Fri, 12 Apr 2002 09:21:13 +0200
On Thu, Apr 11, 2002 at 01:01:15PM -0400, Ed Ravin wrote:
> Stefan M. Brandl writes:
> > I tried to compile syslog-ng-1.5.15 with tcp-wrapper support
> > but had no success.
> > First I had to patch afinet.c with the patch mentioned in
> > http://lists.balabit.hu/pipermail/syslog-ng/2002-February/002962.html
> >
> > But when compiling I get:
> >
> > make[3]: Entering directory `/root/syslog-ng-1.5.15/src'
> > make_class <afinet.c >afinet.c.xT
> >
> > Warning: use of macro doesn't match definition
> > (syntax-rules '() ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...) (let ((name expr)) (and name (let-and clause clauses ...)))) ((let-and expr) expr))
>
> This is a bug of some kind in make_class, which comes with the lib-ol
> package (and is probably installed in your /usr/local/bin). A kind soul
> on the syslog-ng list turned in this patch to fix make_class (you'll
> want to edit by hand or apply with "patch -l" since I'm screwing up
> the whitespace by posting it this way).
>
> --- /usr/local/bad/make_class Wed Feb 6 15:59:34 2002
> +++ ./make_class Wed Mar 6 12:10:32 2002
> @@ -19,7 +19,7 @@
> ;; FIXME: Turn this into a scheme48 module
>
> (define-syntax let-and
> - (syntax-rules '()
> + (syntax-rules ()
> ((let-and (expr) clause clauses ...)
> (and expr (let-and clause clauses ...)))
> ((let-and (name expr) clause clauses ...)
applied this patch to my libol CVS tree.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1