diff options
author | wiz <wiz@pkgsrc.org> | 2014-12-30 13:13:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-12-30 13:13:21 +0000 |
commit | 55aa1346edaf07a38eb9a22787b767af38ee9bdb (patch) | |
tree | 48d9728f7b5b0f05bcffc322906598fdb3d8f24f /finance/libofx/patches | |
parent | 1f7d00dd850935052d37dc4aa02bbd50ba29fd2c (diff) | |
download | pkgsrc-55aa1346edaf07a38eb9a22787b767af38ee9bdb.tar.gz |
Update to 0.9.10:
2014-09-12, LibOFX 0.9.10:
- Fix missing balance dates (ledger_balance_date, available_balance_date)
2013-09-09, LibOFX 0.9.9:
- Fix missing increment of SO_CURRENT number in libofx-0.9.6
to avoid crashes when mixing this with older applications
- bug#41: Fix a crash that occurs while importing a possibly
invalid OFX file. Patch by Cristian Onet.
2013-04-17, LibOFX 0.9.8:
- Fix errorneous reading of files with empty lines
- bug#24: Fix build error on solaris.
- bug#40: Fix compiler warnings of OFX clang
2013-04-11, LibOFX 0.9.7:
- Fix errorneous reading of files with long lines
2013-03-30, LibOFX 0.9.6:
- Extend buffer for TRANSACTION_NAME to 96 bytes due to UTF-8
multibyte characters.
- Patch by Geert Janssens to fix typo in info message
- Patch by Geert Janssens to allow lines longer than 1024
caracters
- Fix treatment of empty date strings: Must return a zero date
instead of a bogus one.
- Replace unlink() with remove() to fix compile problems with
gcc 4.7
- Make configure fail if gengetopt is missing and generated
files are not present (as is the case when we checkout from
git)
- Fix garbled character encoding for UTF-8 encoded OFX 2.0
(XML) files. Sadly, because of a bug in OpenSP with xml
decoding this currently means that iso-8859-1 OFX-2.0 files
will still not be properly decoded.
LibOFX 0.9.5:
Benoit Grégoire <benoitg@coeus.ca>
- Workaround OFX files specifying invalid encoding values
(specifically: UNICODE and CP1252). This should fix most encoding
problems reported.
- Look for DTD in source directory (simplifies developpement)
Christian Stimming <christian@cstimming.de>
- Add minor argument checking
- Expose field: OfxSecurityData::fiid in API
- Make string arguments a const reference where appropriate
- Add configure check for help2man tool
Ryan Donlan <bdonlan@gmail.com>
- Improve build system and autoconf 2.68 compatibility
- Improve generated man pages
- Use GCC's -fvisibility=hidden to hide internal symbols from external
users.
LibOFX 0.9.4:
- Patch to fix segfault on some malformed date formats. Inspired by Zach's patch on launchpad.
- Packages-oriented changes:
- LibOFX will now look for DTDs in env variable OFX_DTD_PATH (if present).
- Better handling of paths (tolerates trailing path separator, or lack thereof)
- No longer ignore return value of mkstemp()
- Integrate all changes in Ubuntu's package that weren't already upstream
- Move to LibXML++ 2.6, as 1.0 is deprecated
- Add generated man pages with html2man
LibOFX 0.9.3:
- Fix segfault on some files containing missing closing tags (bug #2969817)
LibOFX 0.9.2:
- Win32: Add gnucash patch that looks up the dtd installation directory from the current executable's location.
- Apply patch by Geert Janssens to fix a crash on invalid date format
- Apply patch by ajseward with some additional fixes to allow wraping the library in python.
- Apply patch by Thomas Baumgart which fixes bug #5 (Transaction posting date off by one)
- Apply patch by Bill Nottingham <notting@redhat.com> with various C++ include fixes for building with recent compilers.
Diffstat (limited to 'finance/libofx/patches')
-rw-r--r-- | finance/libofx/patches/patch-aa | 21 | ||||
-rw-r--r-- | finance/libofx/patches/patch-ab | 15 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__container__transaction.cpp | 14 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__preproc.cpp | 15 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__request.cpp | 14 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp | 14 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__request__statement.cpp | 14 | ||||
-rw-r--r-- | finance/libofx/patches/patch-lib_ofx__utilities.cpp | 16 | ||||
-rw-r--r-- | finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp | 15 | ||||
-rw-r--r-- | finance/libofx/patches/patch-ofxdump_ofxdump.cpp | 15 |
10 files changed, 15 insertions, 138 deletions
diff --git a/finance/libofx/patches/patch-aa b/finance/libofx/patches/patch-aa deleted file mode 100644 index b1dceb8652c..00000000000 --- a/finance/libofx/patches/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-aa,v 1.6 2014/08/21 04:48:52 dbj Exp $ - ---- lib/ofx_preproc.cpp.orig 2008-12-06 17:22:57.000000000 -0500 -+++ lib/ofx_preproc.cpp 2010-05-18 19:03:57.000000000 -0400 -@@ -22,6 +22,7 @@ - #include <fstream> - #include <stdlib.h> - #include <stdio.h> -+#include <unistd.h> - #include <string> - #include "ParserEventGeneratorKit.h" - #include "libofx.h" -@@ -185,7 +186,7 @@ CFCT int ofx_proc_file(LibofxContextPtr - memset(iconv_buffer,0,READ_BUFFER_SIZE * 2); - size_t inbytesleft = strlen(s_buffer.c_str()); - size_t outbytesleft = READ_BUFFER_SIZE * 2 - 1; --#ifdef OS_WIN32 -+#if !defined(OS_LINUX) && !defined(__DragonFly__) && !defined(__APPLE__) - const char * inchar = (const char *)s_buffer.c_str(); - #else - char * inchar = (char *)s_buffer.c_str(); diff --git a/finance/libofx/patches/patch-ab b/finance/libofx/patches/patch-ab deleted file mode 100644 index 236cdd2fae1..00000000000 --- a/finance/libofx/patches/patch-ab +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ab,v 1.4 2011/08/20 19:25:39 wiz Exp $ - ---- ofxconnect/ofxpartner.cpp.orig 2006-03-26 04:49:54.000000000 +0000 -+++ ofxconnect/ofxpartner.cpp -@@ -31,7 +31,10 @@ - #include "nodeparser.h" - - #include <sys/stat.h> -+#include <unistd.h> - -+#include <algorithm> -+#include <cstring> - #include <iostream> - #include <string> - #include <vector> diff --git a/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp b/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp deleted file mode 100644 index 1266af6b43c..00000000000 --- a/finance/libofx/patches/patch-lib_ofx__container__transaction.cpp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-lib_ofx__container__transaction.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- lib/ofx_container_transaction.cpp.orig 2007-11-09 23:13:21.000000000 +0000 -+++ lib/ofx_container_transaction.cpp -@@ -22,6 +22,7 @@ - #endif - - #include <string> -+#include <stdlib.h> - #include "messages.hh" - #include "libofx.h" - #include "ofx_containers.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__preproc.cpp b/finance/libofx/patches/patch-lib_ofx__preproc.cpp new file mode 100644 index 00000000000..e5b1285ebac --- /dev/null +++ b/finance/libofx/patches/patch-lib_ofx__preproc.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_ofx__preproc.cpp,v 1.1 2014/12/30 13:13:21 wiz Exp $ + +Fix build on NetBSD where iconv has a different prototype. + +--- lib/ofx_preproc.cpp.orig 2014-09-12 19:26:30.000000000 +0000 ++++ lib/ofx_preproc.cpp +@@ -310,7 +310,7 @@ int ofx_proc_file(LibofxContextPtr ctx, + size_t outbytesleft = inbytesleft * 2 - 1; + iconv_buffer = (char*) malloc (inbytesleft * 2); + memset(iconv_buffer, 0, inbytesleft * 2); +-#if defined(OS_WIN32) || defined(__sun) ++#if defined(OS_WIN32) || defined(__sun) || defined(__NetBSD__) + const char * inchar = (const char *)s_buffer.c_str(); + #else + char * inchar = (char *)s_buffer.c_str(); diff --git a/finance/libofx/patches/patch-lib_ofx__request.cpp b/finance/libofx/patches/patch-lib_ofx__request.cpp deleted file mode 100644 index df098f646cc..00000000000 --- a/finance/libofx/patches/patch-lib_ofx__request.cpp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-lib_ofx__request.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- lib/ofx_request.cpp.orig 2007-10-28 03:01:38.000000000 +0000 -+++ lib/ofx_request.cpp -@@ -22,6 +22,7 @@ - #endif - - #include <string> -+#include <string.h> - #include "messages.hh" - #include "libofx.h" - #include "ofx_request.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp b/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp deleted file mode 100644 index fac5e6b78c2..00000000000 --- a/finance/libofx/patches/patch-lib_ofx__request__accountinfo.cpp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-lib_ofx__request__accountinfo.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- lib/ofx_request_accountinfo.cpp.orig 2007-10-28 03:01:38.000000000 +0000 -+++ lib/ofx_request_accountinfo.cpp -@@ -22,6 +22,7 @@ - #endif - - #include <string> -+#include <stdlib.h> - #include "libofx.h" - #include "ofx_request_accountinfo.hh" - diff --git a/finance/libofx/patches/patch-lib_ofx__request__statement.cpp b/finance/libofx/patches/patch-lib_ofx__request__statement.cpp deleted file mode 100644 index 79735e7c5d5..00000000000 --- a/finance/libofx/patches/patch-lib_ofx__request__statement.cpp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-lib_ofx__request__statement.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- lib/ofx_request_statement.cpp.orig 2007-10-28 03:01:38.000000000 +0000 -+++ lib/ofx_request_statement.cpp -@@ -21,6 +21,7 @@ - #include <config.h> - #endif - -+#include <stdlib.h> - #include <string> - #include "libofx.h" - #include "ofx_utilities.hh" diff --git a/finance/libofx/patches/patch-lib_ofx__utilities.cpp b/finance/libofx/patches/patch-lib_ofx__utilities.cpp deleted file mode 100644 index 7bebfd55957..00000000000 --- a/finance/libofx/patches/patch-lib_ofx__utilities.cpp +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-lib_ofx__utilities.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- lib/ofx_utilities.cpp.orig 2007-10-27 12:15:58.000000000 +0000 -+++ lib/ofx_utilities.cpp -@@ -21,7 +21,8 @@ - - #include "ParserEventGeneratorKit.h" - #include "SGMLApplication.h" --#include <time.h> -+#include <cstdlib> -+#include <ctime> - #include <string> - #include <locale.h> - #include "messages.hh" diff --git a/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp b/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp deleted file mode 100644 index 1b33099074e..00000000000 --- a/finance/libofx/patches/patch-ofxconnect_ofxconnect.cpp +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ofxconnect_ofxconnect.cpp,v 1.1 2011/08/20 19:25:39 wiz Exp $ - -Fix build with gcc-4.5. - ---- ofxconnect/ofxconnect.cpp.orig 2007-01-09 08:04:37.000000000 +0000 -+++ ofxconnect/ofxconnect.cpp -@@ -28,6 +28,8 @@ - * (at your option) any later version. * - * * - ***************************************************************************/ -+#include <cstdlib> -+#include <cstring> - #include <iostream> - #include <fstream> - #include <string> diff --git a/finance/libofx/patches/patch-ofxdump_ofxdump.cpp b/finance/libofx/patches/patch-ofxdump_ofxdump.cpp deleted file mode 100644 index 0fde3222b4a..00000000000 --- a/finance/libofx/patches/patch-ofxdump_ofxdump.cpp +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ofxdump_ofxdump.cpp,v 1.1 2011/08/20 19:25:40 wiz Exp $ - -Fix build with gcc-4.5. - ---- ofxdump/ofxdump.cpp.orig 2006-08-02 04:19:22.000000000 +0000 -+++ ofxdump/ofxdump.cpp -@@ -30,6 +30,8 @@ - #include <iostream> - #include <iomanip> - #include <string> -+#include <cstdlib> -+#include <cstring> - #include "libofx.h" - #include <stdio.h> /* for printf() */ - #include <config.h> /* Include config constants, e.g., VERSION TF */ |