summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-12-06 12:34:48 +0000
committerHanno Böck <hanno@gentoo.org>2005-12-06 12:34:48 +0000
commit3f16dc2b1a91e29446ace7308c0ab65bb58fac5e (patch)
tree7913f141ce4d3e6f318bae30f0ecad613a78eff6 /x11-libs/wxGTK/files
parent- initial multilib profile (diff)
downloadgentoo-2-3f16dc2b1a91e29446ace7308c0ab65bb58fac5e.tar.gz
gentoo-2-3f16dc2b1a91e29446ace7308c0ab65bb58fac5e.tar.bz2
gentoo-2-3f16dc2b1a91e29446ace7308c0ab65bb58fac5e.zip
wxGTK gcc41 fix
(Portage version: 2.0.53)
Diffstat (limited to 'x11-libs/wxGTK/files')
-rw-r--r--x11-libs/wxGTK/files/wxWidgets-2.6.2-gcc41.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-libs/wxGTK/files/wxWidgets-2.6.2-gcc41.patch b/x11-libs/wxGTK/files/wxWidgets-2.6.2-gcc41.patch
new file mode 100644
index 000000000000..675ea8f5ebb6
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxWidgets-2.6.2-gcc41.patch
@@ -0,0 +1,13 @@
+--- wxWidgets-2.6.2/src/common/uri.cpp 2005-08-13 02:24:13.000000000 +0200
++++ wxWidgets-2.6.2-gcc41/src/common/uri.cpp 2005-12-04 22:49:30.996859750 +0100
+@@ -886,8 +886,8 @@
+ op += 3;
+ }
+
+- m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
+- m_path.substr((op - m_path.c_str()), m_path.Length());
++ m_path = (wxString)base.m_path.substr(0, bp - base.m_path.c_str()) +
++ (wxString)m_path.substr((op - m_path.c_str()), m_path.Length());
+ }
+ }
+