From b231b442ca0fde9221c5877014c13f0d4c6fa481 Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 28 Feb 1999 11:53:32 +0000 Subject: STL 3.0 rope fix. Obtained from: aspell 0.27.1 port --- lang/egcs/files/patch-am | 12 ++++++++++++ lang/gcc295/files/patch-am | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 lang/egcs/files/patch-am create mode 100644 lang/gcc295/files/patch-am diff --git a/lang/egcs/files/patch-am b/lang/egcs/files/patch-am new file mode 100644 index 0000000..f69f6ff --- /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(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*>(this)) = x; ++ // bugfix by Kevin Atkinosn (kevina@clark.net) was *this = x; + } else { + current_pos = x.current_pos; + root = x.root; diff --git a/lang/gcc295/files/patch-am b/lang/gcc295/files/patch-am new file mode 100644 index 0000000..f69f6ff --- /dev/null +++ b/lang/gcc295/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(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*>(this)) = x; ++ // bugfix by Kevin Atkinosn (kevina@clark.net) was *this = x; + } else { + current_pos = x.current_pos; + root = x.root; -- cgit v1.1