summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-02-07 04:09:03 +0000
committerRyan Hill <rhill@gentoo.org>2013-02-07 04:09:03 +0000
commit3f541f3a74c854498d4829a9d0ea1b0e4d5d21f4 (patch)
tree1a51b3a053e81f3d5e1cc68415455b8786ef1b45 /app-i18n/poedit/files
parent[eclass] Version bump KDE SC 4.10.0 (diff)
downloadhistorical-3f541f3a74c854498d4829a9d0ea1b0e4d5d21f4.tar.gz
historical-3f541f3a74c854498d4829a9d0ea1b0e4d5d21f4.tar.bz2
historical-3f541f3a74c854498d4829a9d0ea1b0e4d5d21f4.zip
Version bump (bug #43008).
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x957A8463
Diffstat (limited to 'app-i18n/poedit/files')
-rw-r--r--app-i18n/poedit/files/poedit-1.5.5-wx28.patch22
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;
+ }