summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-05-24 22:18:35 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-05-24 22:18:35 +0000
commitda4f780f335e1f29a968b497c4584f563dfa1b8d (patch)
tree985e89a69b5dc6c2b267cea7e07da392bf1a73d3 /app-editors/mlview/files
parentfixed gcc 4.5 compilation bug #321323 (diff)
downloadgentoo-2-da4f780f335e1f29a968b497c4584f563dfa1b8d.tar.gz
gentoo-2-da4f780f335e1f29a968b497c4584f563dfa1b8d.tar.bz2
gentoo-2-da4f780f335e1f29a968b497c4584f563dfa1b8d.zip
Fix build with GCC 4.5 wrt bug #320377
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/mlview/files')
-rw-r--r--app-editors/mlview/files/mlview-0.9.0-gcc45.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-editors/mlview/files/mlview-0.9.0-gcc45.patch b/app-editors/mlview/files/mlview-0.9.0-gcc45.patch
new file mode 100644
index 000000000000..55b922bcac04
--- /dev/null
+++ b/app-editors/mlview/files/mlview-0.9.0-gcc45.patch
@@ -0,0 +1,15 @@
+Fix building with gcc 4.5
+
+http://bugs.gentoo.org/show_bug.cgi?id=320377
+
+--- src/mlview-ustring.cc
++++ src/mlview-ustring.cc
+@@ -59,7 +59,7 @@
+ UString::~UString ()
+ {}
+
+-UString::UString&
++UString&
+ UString::operator= (const char *a_cstr)
+ {
+ if (!a_cstr)