summaryrefslogtreecommitdiff
path: root/finance/libofx/files/patch-lib__ofx_preproc.cpp
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-23 02:31:01 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-23 02:31:01 +0000
commit5fad80797e00578bd61218b08c335b819f1a05f5 (patch)
tree22a61417e98ddaa277bf3692631583282c497c80 /finance/libofx/files/patch-lib__ofx_preproc.cpp
parentStagify. (diff)
- USES=libtool, drop .la files
- Strip binaries - Remove autotools hacks that can be fixed with staging - Fix packaging of documentation and give regular DOCS their own option - Rename APIDOC option to DOXYGEN - Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=358890
Diffstat (limited to 'finance/libofx/files/patch-lib__ofx_preproc.cpp')
-rw-r--r--finance/libofx/files/patch-lib__ofx_preproc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/finance/libofx/files/patch-lib__ofx_preproc.cpp b/finance/libofx/files/patch-lib__ofx_preproc.cpp
new file mode 100644
index 000000000000..915fe2ed35c0
--- /dev/null
+++ b/finance/libofx/files/patch-lib__ofx_preproc.cpp
@@ -0,0 +1,11 @@
+--- ./lib/ofx_preproc.cpp.orig 2013-04-25 14:06:29.000000000 -0400
++++ ./lib/ofx_preproc.cpp 2014-06-22 19:44:48.000000000 -0400
+@@ -310,7 +310,7 @@
+ 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(__FreeBSD__)
+ const char * inchar = (const char *)s_buffer.c_str();
+ #else
+ char * inchar = (char *)s_buffer.c_str();