ports/106813: mail/gmime2: stray printf causes issues
Larry Rosenman
ler at lerctr.org
Sat Dec 16 16:50:15 UTC 2006
>Number: 106813
>Category: ports
>Synopsis: mail/gmime2: stray printf causes issues
>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: Sat Dec 16 16:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Larry Rosenman
>Release: FreeBSD 6.2-PRERELEASE amd64
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD thebighonker.lerctr.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #86: Wed Dec 13 12:26:50 CST 2006 root at thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER amd64
>Description:
the mail/gmime2 port sources have what appear to be a stray
printf(3) call. This causes problems when programs aren't expecting the
output (Exim, for example, using the dbmail-smtp program as a pipe).
>How-To-Repeat:
pass a broken date to libgmime-2
>Fix:
add the following patch to the port:
--- gmime-utils.c.orig Fri Jun 16 10:56:15 2006
+++ gmime-utils.c Sat Dec 16 10:25:26 2006
@@ -646,7 +646,7 @@
goto next;
} else if (!tm.tm_year) {
if ((n = get_year (token->start, token->len)) != -1) {
- printf ("2-digit year; ");
+ d(printf ("2-digit year; "));
tm.tm_year = n - 1900;
}
goto next;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list