summaryrefslogtreecommitdiff
path: root/lang/egcs
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-02-28 11:53:32 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-02-28 11:53:32 +0000
commitb5be18a57ae942c695f7c569745e1794b4ac9773 (patch)
treeeb9f45e8f46534a824f8d6934cf3978f6b22c5d3 /lang/egcs
parentupgrade to 0.27.1 (diff)
STL 3.0 rope fix.
Obtained from: aspell 0.27.1 port
Notes
Notes: svn path=/head/; revision=16937
Diffstat (limited to 'lang/egcs')
-rw-r--r--lang/egcs/files/patch-am12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/egcs/files/patch-am b/lang/egcs/files/patch-am
new file mode 100644
index 000000000000..f69f6ffa7798
--- /dev/null
+++ b/lang/egcs/files/patch-am
@@ -0,0 +1,12 @@
+--- libstdc++/stl/stl_rope.h.orig Fri Feb 20 03:13:44 1998
++++ libstdc++/stl/stl_rope.h Sun Feb 28 03:50:24 1999
+@@ -702,7 +702,8 @@
+ __rope_iterator_base<charT,Alloc>(r.tree_ptr, pos) {}
+ __rope_const_iterator& operator= (const __rope_const_iterator & x) {
+ if (0 != x.buf_ptr) {
+- *this = x;
++ *(static_cast<__rope_iterator_base<charT,Alloc>*>(this)) = x;
++ // bugfix by Kevin Atkinosn (kevina@clark.net) was *this = x;
+ } else {
+ current_pos = x.current_pos;
+ root = x.root;