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

(-)/usr/ports/net-mgmt/nfdump/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	nfdump
8
PORTNAME=	nfdump
9
PORTVERSION=	1.5.7
9
PORTVERSION=	1.5.7
10
PORTREVISION=	1
10
CATEGORIES=	net-mgmt
11
CATEGORIES=	net-mgmt
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
(-)/usr/ports/net-mgmt/nfdump/files/patch-util.c (+21 lines)
Line 0 Link Here
1
2
$FreeBSD$
3
4
--- util.c.orig
5
+++ util.c
6
@@ -301,6 +301,7 @@
7
 static char timestring[16];
8
 
9
 	when = localtime(&t);
10
+	when->tm_isdst = -1;
11
 	snprintf(timestring, 15, "%i%02i%02i%02i%02i", 
12
 		when->tm_year + 1900, when->tm_mon + 1, when->tm_mday, when->tm_hour, when->tm_min);
13
 	timestring[15] = '\0';
14
@@ -320,6 +321,7 @@
15
 	when.tm_sec  = 0;
16
 	when.tm_wday = 0;
17
 	when.tm_yday = 0;
18
+	when.tm_isdst = -1;
19
 
20
 	if ( strlen(timestring) != 12 ) {
21
 		LogError( "Wrong time format '%s'\n", timestring);

Return to bug 132513