freebsd-ports/games/pingus/files/patch-src-tinygettext_iconv.cpp
Jose Alonso Cardenas Marquez e8073f33bc - New port: games/pingus
Pingus is a free Lemmings-like game covered under the GNU GPL. It features
currently 22 playable levels and runs under a wide variety of operating systems
(FreeBSD, Linux, Windows, etc.)

WWW:    http://pingus.seul.org/
2007-10-06 06:42:55 +00:00

11 lines
435 B
C++

--- src/tinygettext/iconv.cpp 2007-10-05 11:17:23.000000000 -0500
+++ src/tinygettext/iconv.cpp 2007-10-05 11:17:35.000000000 -0500
@@ -78,7 +78,7 @@
size_t in_size = text.size();
size_t out_size = 4*in_size; // Worst case scenario: ASCII -> UTF-32?
std::string result(out_size, ' ');
- ICONV_CONST char* in_str = &text[0];
+ const char* in_str = &text[0];
char* out_str = &result[0];
// Try to convert the text.