Date: Sat, 2 Aug 2003 00:38:17 +0200 (CEST) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sergei@kolobov.com Subject: ports/55171: [Patch] Port: mail/ezmlm (doesn't like -current and gcc 3.3) Message-ID: <200308012238.h71McHx3011622@vaio.alexdupre.com> Resent-Message-ID: <200308012240.h71Me7Kp097549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55171 >Category: ports >Synopsis: [Patch] Port: mail/ezmlm (doesn't like -current and gcc 3.3) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 01 15:40:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.8-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD 4.8-ALEXDUPRE i386 >Description: FreeBSD -current with gcc 3.3 doesn't compile ezmlm complaining about arguments of the log() function (it thinks about math logarithm instead of ezmlm-defined logging). Renaming the function seems a good workaround. >How-To-Repeat: >Fix: --- ezmlm.diff begins here --- diff -ruN ezmlm.orig/Makefile ezmlm/Makefile --- ezmlm.orig/Makefile Fri Aug 1 15:53:15 2003 +++ ezmlm/Makefile Fri Aug 1 16:02:05 2003 @@ -36,7 +36,12 @@ MAN5= ezmlm.5 DOCS= BLURB INSTALL README THANKS TODO +USE_REINPLACE= yes + post-patch: + @${REINPLACE_CMD} -e "s|log(|logging(|g" ${WRKSRC}/ezmlm-manage.c \ + ${WRKSRC}/ezmlm-return.c ${WRKSRC}/ezmlm-sub.c \ + ${WRKSRC}/ezmlm-unsub.c ${WRKSRC}/log.c ${WRKSRC}/log.h @${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin @${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc @${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld --- ezmlm.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308012238.h71McHx3011622>