Date: Sat, 24 Apr 2021 22:41:06 GMT From: "Jason E. Hale" <jhale@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0af455342e8d - main - finance/libofx: Update to 0.10.2 Message-ID: <202104242241.13OMf6EH034690@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=0af455342e8d09ef414d4d6f48ecc6165bfcbd27 commit 0af455342e8d09ef414d4d6f48ecc6165bfcbd27 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2021-04-24 22:34:28 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2021-04-24 22:36:15 +0000 finance/libofx: Update to 0.10.2 --- finance/libofx/Makefile | 2 +- finance/libofx/distinfo | 6 +++--- finance/libofx/files/patch-lib_ofx__utilities.cpp | 24 ----------------------- 3 files changed, 4 insertions(+), 28 deletions(-) diff --git a/finance/libofx/Makefile b/finance/libofx/Makefile index 0b0dee769dc9..757d6116fbf0 100644 --- a/finance/libofx/Makefile +++ b/finance/libofx/Makefile @@ -1,7 +1,7 @@ # Created by: Glenn Johnson <glennpj@charter.net> PORTNAME= libofx -PORTVERSION= 0.10.1 +PORTVERSION= 0.10.2 CATEGORIES= finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME} 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104242241.13OMf6EH034690>