View | Details | Raw Unified | Return to bug 82971
Collapse All | Expand All

(-)esvn/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	esvn
8
PORTNAME=	esvn
9
PORTVERSION=	0.6.9
9
PORTVERSION=	0.6.11
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://esvn.umputun.com/ \
11
MASTER_SITES=	http://esvn.umputun.com/ \
12
		${MASTER_SITE_GENTOO}
12
		${MASTER_SITE_GENTOO}
(-)esvn/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (esvn-0.6.9-1.tar.gz) = d9feb055f19073328059b1994a04b19a
1
MD5 (esvn-0.6.11-1.tar.gz) = 2ded6a349fc8692631f781bbb475fadc
2
SIZE (esvn-0.6.9-1.tar.gz) = 1921281
2
SIZE (esvn-0.6.11-1.tar.gz) = 1921680
(-)esvn/files/patch-src-entries_parser.cpp (-27 / +7 lines)
Lines 1-31 Link Here
1
--- src/entries_parser.cpp	Thu Feb 24 08:15:56 2005
1
--- src/entries_parser.cpp.orig	Wed Apr 27 00:26:22 2005
2
+++ src/entries_parser.cpp	Wed Mar 23 15:46:18 2005
2
+++ src/entries_parser.cpp	Mon Jul  4 16:24:56 2005
3
@@ -246,14 +246,27 @@
3
@@ -283,7 +283,7 @@
4
 
4
 
5
 	int gm_sec  = isoDateTime.mid(17,2).toInt();
5
 	time_t utc_time;
6
 
7
-	time_t utc_time = mktime(&m);
8
+	time_t utc_time;
9
 
6
 
7
-#if defined(FreeBSD)
10
+#if defined(__FreeBSD__)
8
+#if defined(__FreeBSD__)
11
+
12
+	// BSD has inverse of gmtime()
13
+	utc_time = timegm(&m);
14
+
15
+#else
16
+
17
+	// all others do mktime() and adjust timezone
18
 	// mktime assumes broken-down time in local timezone,
19
 	// to get UTC we need to correct result by timezone offset
20
+
21
+	utc_time = mktime(&m);
22
+
23
 #if (_WINDOWS || ESVN_WIN )
24
 	utc_time -= _timezone;
25
 #else
26
 	utc_time -= timezone;
27
+#endif
28
+
29
 #endif
30
 
9
 
31
 	// round to remove leap seconds in "right" timezones
10
 	// BSD has inverse of gmtime()
11
 	utc_time = timegm(&m);

Return to bug 82971