diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-i18n/poedit/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-i18n/poedit/files')
-rw-r--r-- | app-i18n/poedit/files/poedit-1.5.5-wx28.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-i18n/poedit/files/poedit-1.5.5-wx28.patch b/app-i18n/poedit/files/poedit-1.5.5-wx28.patch new file mode 100644 index 000000000000..f10c731c597a --- /dev/null +++ b/app-i18n/poedit/files/poedit-1.5.5-wx28.patch @@ -0,0 +1,22 @@ +catalog.cpp:1155:20: error: 'class wxCharBuffer' has no member named 'length' + +http://www.poedit.net/trac/ticket/513 + + +--- a/src/catalog.cpp ++++ b/src/catalog.cpp +@@ -1151,8 +1151,13 @@ inline bool CanEncodeStringToCharset(const wxString& s, wxMBConv& conv) + { + if (s.empty()) + return true; +- wxCharBuffer converted(s.mb_str(conv)); ++ const wxCharBuffer converted(s.mb_str(conv)); ++#if wxCHECK_VERSION(2,9,0) + if ( converted.length() == 0 ) ++#else ++ const char *cs = (const char*)converted; ++ if ( cs == NULL || strlen(cs) == 0 ) ++#endif + return false; + return true; + } |