summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2021-04-24 18:34:28 -0400
committerJason E. Hale <jhale@FreeBSD.org>2021-04-24 18:36:15 -0400
commit0af455342e8d09ef414d4d6f48ecc6165bfcbd27 (patch)
treefe17688be178e42ee83c7706642b9c871a5a8e50 /finance
parentfinance/aqbanking: Update to 6.2.10 (diff)
finance/libofx: Update to 0.10.2
Diffstat (limited to 'finance')
-rw-r--r--finance/libofx/Makefile2
-rw-r--r--finance/libofx/distinfo6
-rw-r--r--finance/libofx/files/patch-lib_ofx__utilities.cpp24
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)