ports/144657: [patch] mail/firepay fix build with gcc42

Andrius Morkunas hinokind at gmail.com
Thu Mar 11 16:50:04 UTC 2010


>Number:         144657
>Category:       ports
>Synopsis:       [patch] mail/firepay fix build with gcc42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 11 16:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrius Morkunas
>Release:        
>Organization:
>Environment:
>Description:
Get rid of USE_GCC=3.4.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN mail/firepay.orig/Makefile mail/firepay/Makefile
--- mail/firepay.orig/Makefile	2008-07-09 13:24:34.000000000 +0000
+++ mail/firepay/Makefile	2010-01-28 21:58:47.574528805 +0000
@@ -22,9 +22,12 @@
 
 .include <bsd.port.pre.mk>
 
-USE_GCC=	3.4
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|(unsigned char) dest-\>s\[o++\] = c|dest-\>s\[o++\] = (char) c|' \
+		${WRKSRC}/firemime/firemime.c
+
 pre-configure:
 	@-${RM} -r ${WRKSRC}/firemake/*.orig
 	${MV} ${WRKSRC}/conf/sendmailpay.conf ${WRKSRC}/conf/sendmailpay.conf.sample


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list