1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update to 1.1.1

This commit is contained in:
Emanuel Haupt 2014-06-13 11:22:55 +00:00
parent cfa014c988
commit c51628bcc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357668
5 changed files with 3 additions and 41 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= isync
PORTVERSION= 1.1.0
PORTVERSION= 1.1.1
CATEGORIES= mail
MASTER_SITES= SF

View File

@ -1,2 +1,2 @@
SHA256 (isync-1.1.0.tar.gz) = 51f5618c239013fb770f98ae269f24ee417214efaaf7e22821b4a27cf9a9213c
SIZE (isync-1.1.0.tar.gz) = 249374
SHA256 (isync-1.1.1.tar.gz) = c3a5fdcde1f4627137a0cbb66bebbb12bde4873deb872442be0b1d7a617f7491
SIZE (isync-1.1.1.tar.gz) = 256217

View File

@ -1,16 +0,0 @@
--- ./src/drv_imap.c.orig 2013-12-15 13:46:06.000000000 +0100
+++ ./src/drv_imap.c 2014-03-10 17:37:57.715669758 +0100
@@ -835,11 +835,11 @@
memset( &datetime, 0, sizeof(datetime) );
if (!(end = strptime( str, "%d-%b-%Y %H:%M:%S ", &datetime )))
return -1;
- if ((date = mktime( &datetime )) == -1)
+ if ((date = timegm( &datetime )) == -1)
return -1;
if (sscanf( end, "%3d%2d", &hours, &mins ) != 2)
return -1;
- return date - (hours * 60 + mins) * 60 - timezone;
+ return date - (hours * 60 + mins) * 60;
}
static int

View File

@ -1,11 +0,0 @@
--- ./src/drv_maildir.c.orig 2013-12-18 18:58:26.000000000 +0100
+++ ./src/drv_maildir.c 2014-03-10 17:37:57.712669529 +0100
@@ -43,7 +43,7 @@
# define LEGACY_FLOCK 1
#endif
-#ifndef _POSIX_SYNCHRONIZED_IO
+#if !defined(_POSIX_SYNCHRONIZED_IO) || defined(__FreeBSD__)
# define fdatasync fsync
#endif

View File

@ -1,11 +0,0 @@
--- ./src/sync.c.orig 2013-12-18 22:09:33.000000000 +0100
+++ ./src/sync.c 2014-03-10 17:37:57.711669884 +0100
@@ -35,7 +35,7 @@
#include <errno.h>
#include <sys/stat.h>
-#ifndef _POSIX_SYNCHRONIZED_IO
+#if !defined(_POSIX_SYNCHRONIZED_IO) || defined(__FreeBSD__)
# define fdatasync fsync
#endif