#20735: ssmtp 2.61 produces bad dates ------------------------------------+--------------------------------------- Reporter: telemachus@… | Owner: olaf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ssmtp date | Port: ssmtp ------------------------------------+--------------------------------------- Comment(by snc@…): Either a reinplace or a patch would suffice for this. {{{ reinplace s|const char *format = "%a, %_d %b %Y %H:%M:%S %z";|const char *format = "%a, %e %b %Y %H:%M:%S %z";| ${worksrcpath}/arpadate.c }}} {{{ --- arpadate.c.orig 2009-08-23 09:53:27.000000000 -0400 +++ arpadate.c 2009-08-23 09:53:38.000000000 -0400 @@ -79,7 +79,7 @@ time_t now; /* RFC822 format string borrowed from GNU shellutils date.c */ - const char *format = "%a, %_d %b %Y %H:%M:%S %z"; + const char *format = "%a, %e %b %Y %H:%M:%S %z"; now = time(NULL); }}} -- Ticket URL: <http://trac.macports.org/ticket/20735#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS