diff options
author | Dennis Herrmann <dhn@FreeBSD.org> | 2009-03-19 21:31:35 +0000 |
---|---|---|
committer | Dennis Herrmann <dhn@FreeBSD.org> | 2009-03-19 21:31:35 +0000 |
commit | aadcb0f7cf8120c1acb4e8bb9133f70fbbf54708 (patch) | |
tree | 6b2bb6c775926104c824123e0d64666225db5398 /audio/ncmpcpp/files | |
parent | - Update to 0.16 (diff) |
- Update to 0.3.2
Approved by: miwi (mentor)
Notes
Notes:
svn path=/head/; revision=230445
Diffstat (limited to 'audio/ncmpcpp/files')
-rw-r--r-- | audio/ncmpcpp/files/patch-src_charset.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/ncmpcpp/files/patch-src_charset.h b/audio/ncmpcpp/files/patch-src_charset.h new file mode 100644 index 000000000000..11bc75a1cefd --- /dev/null +++ b/audio/ncmpcpp/files/patch-src_charset.h @@ -0,0 +1,38 @@ +--- src/charset.h.orig ++++ src/charset.h +@@ -25,10 +25,10 @@ + #include <config.h> + #endif + +-#include <string> +- + #if defined(SUPPORTED_LOCALES) && defined(HAVE_ICONV_H) + ++#include <string> ++ + void init_current_locale(); + + void utf_to_locale(std::string &); +@@ -42,16 +42,16 @@ void str_pool_locale_to_utf(char *&); + + #else + +-void init_current_locale() { } ++#define init_current_locale(); + +-void utf_to_locale(std::string &) { } +-void locale_to_utf(std::string &) { } ++#define utf_to_locale(x); ++#define locale_to_utf(x); + +-std::string &utf_to_locale_cpy(const std::string &s) { return s; } +-std::string &locale_to_utf_cpy(const std::string &s) { return s; } ++#define utf_to_locale_cpy(x) (x) ++#define locale_to_utf_cpy(x) (x) + +-void str_pool_utf_to_locale(char *&) { } +-void str_pool_locale_to_utf(char *&) { } ++#define str_pool_utf_to_locale(x); ++#define str_pool_locale_to_utf(x); + + #endif // SUPPORTED_LOCALES && HAVE_ICONV_H |