The attached patch should not need to be #ifdef'ed. With libstdc++ "ss.seekg(0);" is a no-op, since the ss position is already at 0. I would maybe add a comment next to "ss.seekg(0);", explaining why it was added.
I've tried macports' inkscape port, based on 0.48.4: the issue does not show. No back port needed, it seems.
Thanks for confirming!
The attached patch should not need to be #ifdef'ed. With libstdc++ "ss.seekg(0);" is a no-op, since the ss position is already at 0. I would maybe add a comment next to "ss.seekg(0);", explaining why it was added.
I've tried macports' inkscape port, based on 0.48.4: the issue does not show. No back port needed, it seems.