diff options
author | obrien <obrien@FreeBSD.org> | 1999-02-28 19:53:32 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-02-28 19:53:32 +0800 |
commit | b231b442ca0fde9221c5877014c13f0d4c6fa481 (patch) | |
tree | 521372ed43b525829a318c7c2eb38e7ca8409fb4 /lang/gcc295 | |
parent | de7e72b33f9e0353c65e60311afa15bd3c426063 (diff) | |
download | freebsd-ports-gnome-b231b442ca0fde9221c5877014c13f0d4c6fa481.tar.gz freebsd-ports-gnome-b231b442ca0fde9221c5877014c13f0d4c6fa481.tar.zst freebsd-ports-gnome-b231b442ca0fde9221c5877014c13f0d4c6fa481.zip |
STL 3.0 rope fix.
Obtained from: aspell 0.27.1 port
Diffstat (limited to 'lang/gcc295')
-rw-r--r-- | lang/gcc295/files/patch-am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/gcc295/files/patch-am b/lang/gcc295/files/patch-am new file mode 100644 index 000000000000..f69f6ffa7798 --- /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<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; |