From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 1 15:41:12 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3394337B41A for ; Fri, 1 Aug 2003 15:41:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBFB84401A for ; Fri, 1 Aug 2003 15:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h71Me7Up097550 for ; Fri, 1 Aug 2003 15:40:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h71Me7Kp097549; Fri, 1 Aug 2003 15:40:07 -0700 (PDT) Resent-Date: Fri, 1 Aug 2003 15:40:07 -0700 (PDT) Resent-Message-Id: <200308012240.h71Me7Kp097549@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Dupre Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A07137B401 for ; Fri, 1 Aug 2003 15:38:25 -0700 (PDT) Received: from relay.gufi.org (civetta.gufi.org [212.110.23.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A3BA43F75 for ; Fri, 1 Aug 2003 15:38:24 -0700 (PDT) (envelope-from alex@vaio.alexdupre.com) Received: from vaio.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245]) by relay.gufi.org (Postfix) with ESMTP id 1DFBB20F42 for ; Sat, 2 Aug 2003 00:38:22 +0200 (CEST) Received: from vaio.alexdupre.com (localhost [127.0.0.1]) by vaio.alexdupre.com (8.12.9/8.12.9) with ESMTP id h71McIeK011625; Sat, 2 Aug 2003 00:38:18 +0200 (CEST) (envelope-from alex@vaio.alexdupre.com) Received: (from alex@localhost) by vaio.alexdupre.com (8.12.9/8.12.9/Submit) id h71McHx3011622; Sat, 2 Aug 2003 00:38:17 +0200 (CEST) Message-Id: <200308012238.h71McHx3011622@vaio.alexdupre.com> Date: Sat, 2 Aug 2003 00:38:17 +0200 (CEST) From: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: sergei@kolobov.com Subject: ports/55171: [Patch] Port: mail/ezmlm (doesn't like -current and gcc 3.3) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Dupre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 22:41:15 -0000 >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: