From dm@home.dinoex.sub.de  Thu Jan 15 23:11:47 2004
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3DDD416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 2004 23:11:47 -0800 (PST)
Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 10C7643D62
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 2004 23:11:45 -0800 (PST)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (home.dinoex.sub.de [217.6.200.196])
	by uucp.dinoex.sub.de (8.12.10/8.12.10) with ESMTP id i0G7BhVs030808
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 Jan 2004 08:11:43 +0100 (CET)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.10/8.12.9/Submit) id i0G7Bj96092330;
	Fri, 16 Jan 2004 08:11:45 +0100 (CET)
	(envelope-from dm)
Message-Id: <200401160711.i0G7Bj96092330@home.dinoex.sub.de>
Date: Fri, 16 Jan 2004 08:11:45 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mail/milter_regex fix warnings and update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61410
>Category:       ports
>Synopsis:       mail/milter_regex fix warnings and update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    trevor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 15 23:20:04 PST 2004
>Closed-Date:    Fri Jan 16 12:59:01 PST 2004
>Last-Modified:  Fri Jan 16 12:59:01 PST 2004
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

CFLAGS+= -W -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wconversion -Wformat -Wimplicit -Wimplicit-function-delcaration -Wimplicit-int -Wlong-long -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-import -Wno-parentheses -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtraditional -Wtrigraphs -Wunused -Wwrite-strings

>Description:

	build fails as -Werrror can't be supressed.
	drop "-Werrror" or make it optional by
	honoring NO_WARN=yes

	maintainer contacted at: 2003-12-22, no response:

	Dec 22 17:05:16 to=<trevor@FreeBSD.org>, mailer=esmtp,
	relay=mx1.freebsd.org. [216.136.204.125], dsn=2.0.0,
	stat=Sent (Ok: queued as 9D09E43D31)

>How-To-Repeat:

>Fix:
	- supress -Werror
	- update to 0.7

	apply this patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/milter-regex/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	9 Dec 2003 18:42:22 -0000	1.4
+++ Makefile	16 Jan 2004 07:04:48 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	milter_regex
-PORTVERSION=	0.6
+PORTVERSION=	0.7
 CATEGORIES=	mail
 MASTER_SITES=	http://www.benzedrine.cx/
 DISTNAME=	milter-regex-${PORTVERSION}
@@ -28,6 +28,7 @@
 .for ii in Makefile milter-regex.c rules.c
 	${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
 	${SED} -e "s:-lpthread:${PTHREAD_LIBS}:g; \
+	s:-Werror::; \
 	s:-I/usr/src/gnu/usr.sbin/sendmail/include:${PTHREAD_CFLAGS}:g; \
 	s/[[:<:]]log(/milterlog(/g" < ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
 .endfor
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/milter-regex/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	6 Oct 2003 18:12:05 -0000	1.2
+++ distinfo	16 Jan 2004 07:04:48 -0000
@@ -1 +1 @@
-MD5 (milter-regex-0.6.tar.gz) = 1f65e2a14e791af2a8395ce81081400d
+MD5 (milter-regex-0.7.tar.gz) = 806c93cd536e37c5beed0f4c92117a72

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->trevor 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Fri Jan 16 08:20:05 CET 2004 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61410 
State-Changed-From-To: open->closed 
State-Changed-By: trevor 
State-Changed-When: Fri Jan 16 12:58:37 PST 2004 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61410 
>Unformatted:
