summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches
diff options
context:
space:
mode:
authorplunky <plunky>2009-05-17 16:03:08 +0000
committerplunky <plunky>2009-05-17 16:03:08 +0000
commit6bbb694af429e1a318f9d2378219833675aefa07 (patch)
tree14e701e6af4b0cd933b91d9340377d5a3016127e /mail/imap-uw/patches
parentbcd602f2c80f08385bd3d752fe72a9b2e7f2496a (diff)
downloadpkgsrc-6bbb694af429e1a318f9d2378219833675aefa07.tar.gz
Fix a problem where file modification times were being reset to 0 by
including <utime.h> to make sure that compiler renaming was used to select __utime50() instead of utime() as 64-bit time_t was being used.
Diffstat (limited to 'mail/imap-uw/patches')
-rw-r--r--mail/imap-uw/patches/patch-ap5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/imap-uw/patches/patch-ap b/mail/imap-uw/patches/patch-ap
index 5a8de7e207a..6fae4fbe55d 100644
--- a/mail/imap-uw/patches/patch-ap
+++ b/mail/imap-uw/patches/patch-ap
@@ -1,12 +1,13 @@
-$NetBSD: patch-ap,v 1.2 2007/08/03 17:03:31 obache Exp $
+$NetBSD: patch-ap,v 1.3 2009/05/17 16:03:08 plunky Exp $
--- src/osdep/unix/unix.c.orig 2007-06-18 20:22:43.000000000 +0000
+++ src/osdep/unix/unix.c
-@@ -42,7 +42,6 @@
+@@ -42,7 +42,7 @@
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
-extern int errno; /* just in case */
#include <signal.h>
++#include <utime.h> /* need this to get __utime50() prototype on NetBSD */
#include "mail.h"
#include "osdep.h"