Changeset 112282


Ignore:
Timestamp:
Oct 16, 2013, 8:56:07 PM (4 years ago)
Author:
mk@…
Message:

libofx: correct patch for tiger

Location:
trunk/dports/devel/libofx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libofx/Portfile

    r110948 r112282  
    66name                    libofx
    77version                 0.9.9
     8revision                1
    89categories              devel
    910maintainers             mk openmaintainer
  • trunk/dports/devel/libofx/files/patch-ofx_preproc.cpp.diff

    r56091 r112282  
    1 --- lib/ofx_preproc.cpp 2008-12-06 16:22:57.000000000 -0600
    2 +++ lib/ofx_preproc.cpp 2009-08-24 01:27:02.000000000 -0500
    3 @@ -185,11 +185,7 @@
    4             memset(iconv_buffer,0,READ_BUFFER_SIZE * 2);
    5             size_t inbytesleft = strlen(s_buffer.c_str());
    6             size_t outbytesleft = READ_BUFFER_SIZE * 2 - 1;
    7 -#ifdef OS_WIN32
    8             const char * inchar = (const char *)s_buffer.c_str();
    9 -#else
    10 -           char * inchar = (char *)s_buffer.c_str();
    11 -#endif
    12             char * outchar = iconv_buffer;
    13             int iconv_retval = iconv (conversion_descriptor,
    14                     &inchar, &inbytesleft,
     1--- lib/ofx_preproc.cpp 2013-10-16 22:45:09.000000000 +0200
     2+++ lib/ofx_preproc.cpp 2013-10-16 22:49:05.000000000 +0200
     3@@ -310,7 +310,7 @@
     4             size_t outbytesleft = inbytesleft * 2 - 1;
     5             iconv_buffer = (char*) malloc (inbytesleft * 2);
     6             memset(iconv_buffer, 0, inbytesleft * 2);
     7-#if defined(OS_WIN32) || defined(__sun)
     8+#if defined(OS_WIN32) || defined(__sun) || defined(__APPLE__)
     9             const char * inchar = (const char *)s_buffer.c_str();
     10 #else
     11             char * inchar = (char *)s_buffer.c_str();
Note: See TracChangeset for help on using the changeset viewer.