diff --git a/finance/libofx/Makefile b/finance/libofx/Makefile index 0b0dee769dc9..757d6116fbf0 100644 --- a/finance/libofx/Makefile +++ b/finance/libofx/Makefile @@ -1,36 +1,36 @@ # Created by: Glenn Johnson PORTNAME= libofx -PORTVERSION= 0.10.1 +PORTVERSION= 0.10.2 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 gnome 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 TEST_TARGET= check PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: ${RM} ${STAGEDIR}${DOCSDIR}/COPYING .include diff --git a/finance/libofx/distinfo b/finance/libofx/distinfo index 4e025e825215..b8719f5cc94d 100644 --- a/finance/libofx/distinfo +++ b/finance/libofx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1612036787 -SHA256 (libofx-0.10.1.tar.gz) = 3bcc2c86b23dc11315a8ce0c9f20cc504fdc6147ea3a0385cb3e05768279c64d -SIZE (libofx-0.10.1.tar.gz) = 1832954 +TIMESTAMP = 1619298210 +SHA256 (libofx-0.10.2.tar.gz) = 7164fbe6c570867296f38f46f9def62ea993e46f2a67a9af1771d8edb877eb18 +SIZE (libofx-0.10.2.tar.gz) = 1831739 diff --git a/finance/libofx/files/patch-lib_ofx__utilities.cpp b/finance/libofx/files/patch-lib_ofx__utilities.cpp deleted file mode 100644 index 4aca889f43b3..000000000000 --- a/finance/libofx/files/patch-lib_ofx__utilities.cpp +++ /dev/null @@ -1,24 +0,0 @@ -Emulate the behavior of the USG UXIX daylight variable implemented in glibc. -It is supposed to be 0 if the time zone does not have any daylight saving time -rules and non-zero if there is a time during the year when daylight saving -time applies. [1] - -In FreeBSD, tzname[1] should be set to " " (three spaces) if DST is never -observed. [2] - -[1] https://www.gnu.org/software/libc/manual/html_node/Time-Zone-Functions.html#Time-Zone-Functions -[2] https://svnweb.freebsd.org/base/head/contrib/tzcode/stdtime/localtime.c?revision=313774&view=markup#l84 - ---- lib/ofx_utilities.cpp.orig 2018-05-02 19:39:38 UTC -+++ lib/ofx_utilities.cpp -@@ -142,6 +142,10 @@ time_t ofxdate_to_time_t(const string ofxdate) - std::time(&temptime); - 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. */ -+#if defined(__FreeBSD__) -+ tzset(); -+ int daylight = ((tzname[1][0] == ' ') ? 0 : 1); -+#endif - time.tm_isdst = daylight; - - if (ofxdate.size() != 0)