Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 08:11:45 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61410: mail/milter_regex fix warnings and update
Message-ID:  <200401160711.i0G7Bj96092330@home.dinoex.sub.de>
Resent-Message-ID: <200401160720.i0G7K506012457@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61410
>Category:       ports
>Synopsis:       mail/milter_regex fix warnings and update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 15 23:20:04 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401160711.i0G7Bj96092330>