Index: branches/2017Q3/finance/libofx/Makefile =================================================================== --- branches/2017Q3/finance/libofx/Makefile (revision 447001) +++ branches/2017Q3/finance/libofx/Makefile (revision 447002) @@ -1,36 +1,37 @@ # Created by: Glenn Johnson # $FreeBSD$ PORTNAME= libofx PORTVERSION= 0.9.11 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= jhale@FreeBSD.org COMMENT= OpenSource implementation of the OFX (Open Financial eXchange) LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libxml++-2.6.so:textproc/libxml++26 \ libosp.so:textproc/opensp USES= gettext-runtime gmake iconv libtool localbase pathfix pkgconfig \ compiler:c++11-lang USE_CXXSTD= c++11 USE_GNOME= glib20 glibmm libsigc++20 libxml2 CONFIGURE_ARGS= --disable-doxygen --disable-dot --disable-gengetopt \ --with-opensp-includes=${LOCALBASE}/include/OpenSP \ --with-opensp-libs=${LOCALBASE}/lib GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: ${RM} ${STAGEDIR}${DOCSDIR}/COPYING .include Index: branches/2017Q3/finance/libofx/files/patch-lib_ofx__utilities.cpp =================================================================== --- branches/2017Q3/finance/libofx/files/patch-lib_ofx__utilities.cpp (revision 447001) +++ branches/2017Q3/finance/libofx/files/patch-lib_ofx__utilities.cpp (revision 447002) @@ -1,18 +1,14 @@ --- lib/ofx_utilities.cpp.orig 2013-04-16 19:50:51 UTC +++ lib/ofx_utilities.cpp -@@ -115,9 +115,14 @@ time_t ofxdate_to_time_t(const string of +@@ -115,6 +115,11 @@ 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; ++ int daylight = 0; ++ ++ tzset(); ++ if(tzname[1][0] != ' ') ++ daylight = 1; time.tm_isdst = daylight; // initialize dst setting -- std::time(&temptime); - local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime))) + (3600 * daylight); - - if (ofxdate.size() != 0) + std::time(&temptime); Index: branches/2017Q3 =================================================================== --- branches/2017Q3 (revision 447001) +++ branches/2017Q3 (revision 447002) Property changes on: branches/2017Q3 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r446957