freebsd-ports/devel/libiqxmlrpc/files/patch-libiqxmlrpc-utf_conv.cc
Max Khon 7cea41e00e New port: libiqxmlrpc
Libiqxmlrpc is C++ object-oriented library that represents an XML-RPC
solution for both client and server. It supports HTTP and HTTPS,
both single-threaded and multi-threaded computation models on the server side,
method interceptors, and other features.

WWW: http://libiqxmlrpc.sourceforge.net/
2008-03-31 20:40:44 +00:00

11 lines
367 B
C++

--- libiqxmlrpc/utf_conv.cc.orig 2007-04-07 00:27:29.000000000 +0700
+++ libiqxmlrpc/utf_conv.cc 2008-04-01 03:27:31.000000000 +0700
@@ -89,7 +89,7 @@
size_t ileft = ilen;
size_t oleft = olen;
-#if defined (_WINDOWS) || defined (__CYGWIN__)
+#if defined(_LIBICONV_VERSION)
const char* ibuf = s.c_str();
#else
char* ibuf = const_cast<char*>(s.c_str());