1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/lang/egcs/files/patch-am
David E. O'Brien b3a3e327ec This should take this port back to the last version of it for EGCS-1.1.2.
The gcc-2.95.2 bits have been repo copied to ports/lang/gcc295.

GCC 2.95.2 does not work for some people's code.  GCC 3.0 will be even
worse.  So it looks like we'll have to keep a port for each version of
GCC we've ever used.
2000-11-30 11:39:26 +00:00

13 lines
508 B
Plaintext

--- 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;