Hi...
Here's a diff to change the fetchnews.c patch to a better one.
Thanks a lot to Nikolay Sturm <sturm at erisiandiscord.de> for the fix.
--
Antoine Jacoutot
Observatoire de Paris
SIO - Centre de calcul (Bat 15)
5, Place Jules Janssen
92195 Meudon Cedex
Tel : +33 (0)1.45.07.71.95
diff -uNr --exclude=CVS /usr/ports/mail/cyrus-imapd/Makefile
cyrus-imapd/Makefile
--- /usr/ports/mail/cyrus-imapd/Makefile Sun Apr 9 01:48:33 2006
+++ cyrus-imapd/Makefile Mon Apr 10 09:47:15 2006
@@ -5,6 +5,7 @@
V= 2.2.13
DISTNAME= cyrus-imapd-${V}
+PKGNAME= ${DISTNAME}p0
FULLPKGNAME-perl=cyrus-imapd-perl-${V}
CATEGORIES= mail
HOMEPAGE= http://cyrusimap.web.cmu.edu
diff -uNr --exclude=CVS
/usr/ports/mail/cyrus-imapd/patches/patch-imap_fetchnews_c
cyrus-imapd/patches/patch-imap_fetchnews_c
--- /usr/ports/mail/cyrus-imapd/patches/patch-imap_fetchnews_c Sat Apr 8
22:46:20 2006
+++ cyrus-imapd/patches/patch-imap_fetchnews_c Mon Apr 10 12:57:02 2006
@@ -1,12 +1,12 @@
-$OpenBSD: patch-imap_fetchnews_c,v 1.1 2006/04/08 20:46:20 sturm Exp $
---- imap/fetchnews.c.orig Tue Apr 4 09:21:43 2006
-+++ imap/fetchnews.c Tue Apr 4 09:21:59 2006
+$OpenBSD$
+--- imap/fetchnews.c.orig Mon Apr 10 09:47:41 2006
++++ imap/fetchnews.c Mon Apr 10 09:48:06 2006
@@ -433,7 +433,7 @@ int main(int argc, char *argv[])
We can't change this, otherwise we'd be incompatible
with an old localtime timestamp.
*/
- stamp -= timezone;
-+ stamp -= (time_t) timezone;
++ stamp -= ctime.tm_gmtoff;
}
if (!newnews) {