openbsd-ports/geo/osm2go/patches/patch-src_osm_c

13 lines
422 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_osm_c,v 1.2 2011/01/19 23:26:51 landry Exp $
--- src/osm.c.orig Thu Jan 20 00:11:32 2011
+++ src/osm.c Thu Jan 20 00:12:53 2011
@@ -99,7 +99,7 @@ time_t convert_iso8601(const char *str) {
memset(&ctime, 0, sizeof(struct tm));
strptime(str, "%FT%T%z", &ctime);
- return mktime(&ctime) - timezone;
+ return mktime(&ctime);
}
/* -------------------- tag handling ----------------------- */