File imap-2007e.patch of Package imap

diff -ruN imap-2007e-2001a-include/Makefile imap-2007e/Makefile
--- imap-2007e-2001a-include/Makefile	2008-06-04 18:43:35.000000000 +0000
+++ imap-2007e/Makefile	2009-12-18 19:19:29.246393113 +0000
@@ -638,7 +638,8 @@
 	@echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 	@echo
 	@echo Do you want to build with IPv6 anyway?  Type y or n please:
-	@$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make noip6;exit 1);; esac'
+	@$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 0;; esac'
+# *) (make noip6;exit 1);; esac'
 	@echo OK, I will remember that you really want to build with IPv6.
 	@echo You will not see this message again.
 	@$(TOUCH) ip6
diff -ruN imap-2007e-2001a-include/src/c-client/mail.c imap-2007e/src/c-client/mail.c
--- imap-2007e-2001a-include/src/c-client/mail.c	2008-06-04 18:39:54.000000000 +0000
+++ imap-2007e/src/c-client/mail.c	2009-12-18 19:05:31.284336262 +0000
@@ -2931,8 +2931,10 @@
 				/* parse time */
     d = strtoul (s+1,(char **) &s,10);
     if (*s != ':') return NIL;
-    m = strtoul (++s,(char **) &s,10);
-    y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0;
+	s++;
+    m = strtoul (s,(char **) &s,10);
+	s++;
+    y = (*s == ':') ? strtoul (s,(char **) &s,10) : 0;
 				/* validity check time */
     if ((d > 23) || (m > 59) || (y > 60)) return NIL; 
 				/* set values in elt */
diff -ruN imap-2007e-2001a-include/src/mlock/mlock.c imap-2007e/src/mlock/mlock.c
--- imap-2007e-2001a-include/src/mlock/mlock.c	2008-06-04 18:18:34.000000000 +0000
+++ imap-2007e/src/mlock/mlock.c	2009-12-18 19:05:31.284336262 +0000
@@ -38,6 +38,7 @@
 #include <sys/param.h>
 #include <stdlib.h>
 #include <netdb.h>
+#include <unistd.h>
 #include <ctype.h>
 #include <string.h>
 
diff -ruN imap-2007e-2001a-include/src/osdep/unix/mbx.c imap-2007e/src/osdep/unix/mbx.c
--- imap-2007e-2001a-include/src/osdep/unix/mbx.c	2008-06-04 18:18:34.000000000 +0000
+++ imap-2007e/src/osdep/unix/mbx.c	2009-12-18 19:05:31.284336262 +0000
@@ -37,6 +37,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
+#include <utime.h>
 extern int errno;		/* just in case */
 #include "mail.h"
 #include "osdep.h"
diff -ruN imap-2007e-2001a-include/src/osdep/unix/mh.c imap-2007e/src/osdep/unix/mh.c
--- imap-2007e-2001a-include/src/osdep/unix/mh.c	2009-12-18 19:04:25.449346000 +0000
+++ imap-2007e/src/osdep/unix/mh.c	2009-12-18 19:06:12.366202134 +0000
@@ -35,6 +35,7 @@
 #include "osdep.h"
 #include <pwd.h>
 #include <time.h>
+#include <utime.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include "misc.h"
diff -ruN imap-2007e-2001a-include/src/osdep/unix/mmdf.c imap-2007e/src/osdep/unix/mmdf.c
--- imap-2007e-2001a-include/src/osdep/unix/mmdf.c	2008-06-04 18:39:54.000000000 +0000
+++ imap-2007e/src/osdep/unix/mmdf.c	2009-12-18 19:05:31.292336625 +0000
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
+#include <utime.h>
 extern int errno;		/* just in case */
 #include <signal.h>
 #include "mail.h"
diff -ruN imap-2007e-2001a-include/src/osdep/unix/mtx.c imap-2007e/src/osdep/unix/mtx.c
--- imap-2007e-2001a-include/src/osdep/unix/mtx.c	2008-06-04 18:18:34.000000000 +0000
+++ imap-2007e/src/osdep/unix/mtx.c	2009-12-18 19:05:31.292336625 +0000
@@ -35,6 +35,7 @@
  */
 
 #include <stdio.h>
+#include <utime.h>
 #include <ctype.h>
 #include <errno.h>
 extern int errno;		/* just in case */
diff -ruN imap-2007e-2001a-include/src/osdep/unix/mx.c imap-2007e/src/osdep/unix/mx.c
--- imap-2007e-2001a-include/src/osdep/unix/mx.c	2009-12-18 19:04:25.449346000 +0000
+++ imap-2007e/src/osdep/unix/mx.c	2009-12-18 19:06:23.634713928 +0000
@@ -35,6 +35,7 @@
 #include "osdep.h"
 #include <pwd.h>
 #include <time.h>
+#include <utime.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include "misc.h"
diff -ruN imap-2007e-2001a-include/src/osdep/unix/tenex.c imap-2007e/src/osdep/unix/tenex.c
--- imap-2007e-2001a-include/src/osdep/unix/tenex.c	2008-06-04 18:18:34.000000000 +0000
+++ imap-2007e/src/osdep/unix/tenex.c	2009-12-18 19:05:31.292336625 +0000
@@ -41,6 +41,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <utime.h>
 #include <errno.h>
 extern int errno;		/* just in case */
 #include "mail.h"
openSUSE Build Service is sponsored by