ports/144658: [patch] mail/firemime fix build with gcc42

Andrius Morkunas hinokind at gmail.com
Thu Mar 11 17:10:01 UTC 2010


>Number:         144658
>Category:       ports
>Synopsis:       [patch] mail/firemime 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 17:10:00 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/firemime.orig/Makefile mail/firemime/Makefile
--- mail/firemime.orig/Makefile	2008-04-19 17:51:40.000000000 +0000
+++ mail/firemime/Makefile	2010-01-28 21:54:03.958842864 +0000
@@ -27,7 +27,9 @@
 
 .include <bsd.port.pre.mk>
 
-USE_GCC=	3.4
+post-patch:
+	@${REINPLACE_CMD} -e 's|(unsigned char) dest-\>s\[o++\] = c|dest-\>s\[o++\] = (char) c|' \
+		${WRKSRC}/firemime.c
 
 pre-configure:
 	@-${RM} -r ${WRKSRC}/firemake/*.orig


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



More information about the freebsd-ports-bugs mailing list