[112282] trunk/dports/devel/libofx

mk at macports.org mk at macports.org
Wed Oct 16 13:56:07 PDT 2013


Revision: 112282
          https://trac.macports.org/changeset/112282
Author:   mk at macports.org
Date:     2013-10-16 13:56:07 -0700 (Wed, 16 Oct 2013)
Log Message:
-----------
libofx: correct patch for tiger

Modified Paths:
--------------
    trunk/dports/devel/libofx/Portfile
    trunk/dports/devel/libofx/files/patch-ofx_preproc.cpp.diff

Modified: trunk/dports/devel/libofx/Portfile
===================================================================
--- trunk/dports/devel/libofx/Portfile	2013-10-16 20:25:09 UTC (rev 112281)
+++ trunk/dports/devel/libofx/Portfile	2013-10-16 20:56:07 UTC (rev 112282)
@@ -5,6 +5,7 @@
 
 name                    libofx
 version                 0.9.9
+revision                1
 categories              devel
 maintainers             mk openmaintainer
 description             A parser and an API designed to allow applications \

Modified: trunk/dports/devel/libofx/files/patch-ofx_preproc.cpp.diff
===================================================================
--- trunk/dports/devel/libofx/files/patch-ofx_preproc.cpp.diff	2013-10-16 20:25:09 UTC (rev 112281)
+++ trunk/dports/devel/libofx/files/patch-ofx_preproc.cpp.diff	2013-10-16 20:56:07 UTC (rev 112282)
@@ -1,14 +1,11 @@
---- lib/ofx_preproc.cpp	2008-12-06 16:22:57.000000000 -0600
-+++ lib/ofx_preproc.cpp	2009-08-24 01:27:02.000000000 -0500
-@@ -185,11 +185,7 @@
- 	    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
- 	    const char * inchar = (const char *)s_buffer.c_str();
--#else
--	    char * inchar = (char *)s_buffer.c_str();
--#endif
- 	    char * outchar = iconv_buffer;
- 	    int iconv_retval = iconv (conversion_descriptor,
- 		    &inchar, &inbytesleft,
+--- lib/ofx_preproc.cpp	2013-10-16 22:45:09.000000000 +0200
++++ lib/ofx_preproc.cpp	2013-10-16 22:49:05.000000000 +0200
+@@ -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(__APPLE__)
+             const char * inchar = (const char *)s_buffer.c_str();
+ #else
+             char * inchar = (char *)s_buffer.c_str();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131016/129234f1/attachment-0001.html>


More information about the macports-changes mailing list