ports/55171: [Patch] Port: mail/ezmlm (doesn't like -current and gcc 3.3)
Alex Dupre
sysadmin at alexdupre.com
Fri Aug 1 22:41:15 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list