$OpenBSD: patch-lib_ofx_utilities_cpp,v 1.3 2018/05/14 16:35:30 landry Exp $
We don't support extern daylight
Index: lib/ofx_utilities.cpp
--- lib/ofx_utilities.cpp.orig
+++ lib/ofx_utilities.cpp
@@ -138,8 +138,12 @@ time_t ofxdate_to_time_t(const string ofxdate)
   char time_zone_specified = false;
   string ofxdate_whole;
   time_t temptime;
+  int daylight;
+  const struct tm* t;
 
   std::time(&temptime);
+  t = localtime(&temptime);
+  daylight = t->tm_isdst;
   local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime)));
   /* daylight is set to 1 if the timezone indicated by the environment (either TZ or /etc/localtime) uses daylight savings time (aka summer time). We use it here to provisionally set tm_isdst. */
   time.tm_isdst = daylight;
