openbsd-ports/mail/elm/patches/patch-ad
2000-01-05 09:06:12 +00:00

30 lines
1.3 KiB
Plaintext

--- utils/newmail.c.orig Tue Jan 4 18:30:21 2000
+++ utils/newmail.c Tue Jan 4 18:31:11 2000
@@ -144,7 +144,7 @@ int parent_pid; /* See if sucide shoul
extern int errno;
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
time_t utime_buffer[2]; /* utime command */
#else
@@ -329,7 +329,7 @@ char *argv[];
/* try to set the file access times back, ignore
failures */
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
@@ -697,7 +697,7 @@ char *name;
/* retain the access times for later use */
-#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(BSD_TYPE) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else