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

(-)esvn/Makefile (-2 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	esvn
8
PORTNAME=	esvn
9
PORTVERSION=	0.6.8
9
PORTVERSION=	0.6.9
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://esvn.umputun.com/
11
MASTER_SITES=	http://esvn.umputun.com/
12
DISTNAME=	${PORTNAME}-${PORTVERSION}-1
12
DISTNAME=	${PORTNAME}-${PORTVERSION}-1
Lines 19-25 Link Here
19
19
20
ESVN_DIST=	esvn
20
ESVN_DIST=	esvn
21
ESVNPRO=	esvn.pro esvn-diff-wrapper.pro
21
ESVNPRO=	esvn.pro esvn-diff-wrapper.pro
22
ESVNDOCS=	html-docs html-docs/common html-docs/common/admon html-docs/common/navig html-docs/images
22
ESVNDOCS=	html-docs html-docs/common html-docs/common/admon html-docs/common/navig html-docs/images
23
23
24
WRKSRC=		${WRKDIR}/${ESVN_DIST}
24
WRKSRC=		${WRKDIR}/${ESVN_DIST}
25
25
(-)esvn/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (esvn-0.6.8-1.tar.gz) = 1682b7a21217e108cc00cc95b55ffe72
1
MD5 (esvn-0.6.9-1.tar.gz) = d9feb055f19073328059b1994a04b19a
2
SIZE (esvn-0.6.8-1.tar.gz) = 1920635
2
SIZE (esvn-0.6.9-1.tar.gz) = 1921281
(-)esvn/files/patch-esvn_utils.h (-11 lines)
Lines 1-11 Link Here
1
--- src/esvn_utils.h.orig	Sat Nov 27 12:55:50 2004
2
+++ src/esvn_utils.h	Fri Dec 10 10:50:35 2004
3
@@ -5,6 +5,8 @@
4
 #include <qdir.h>
5
 #include <vector>
6
 
7
+#include <time.h>
8
+
9
 namespace EsvnUtils
10
 {
11
 	inline QDateTime UTC2Local(const QDateTime& utc)
(-)esvn/files/patch-src-entries_parser.cpp (+31 lines)
Line 0 Link Here
1
--- src/entries_parser.cpp	Thu Feb 24 08:15:56 2005
2
+++ src/entries_parser.cpp	Wed Mar 23 15:46:18 2005
3
@@ -246,14 +246,27 @@
4
 
5
 	int gm_sec  = isoDateTime.mid(17,2).toInt();
6
 
7
-	time_t utc_time = mktime(&m);
8
+	time_t utc_time;
9
 
10
+#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
 
31
 	// round to remove leap seconds in "right" timezones

Return to bug 79358