Temp fix was to forward-declare the XMLHelper DOMNode operator<< overload inside internal.h before the CategoryStream header is pulled in by the SPConfig.h header. Patch is in the macport tree.
Stream operator overload is failing on clang and on gcc 4.2 (SnowLeopard). The expected patch fixes clang, but not the gcc case, so I'm pulling use of the overload in this source file.
The clang compiler is strict about function lookup inside templates:
http://clang.llvm.org/compatibility.html
Temp fix was to forward-declare the XMLHelper DOMNode operator<< overload inside internal.h before the CategoryStream header is pulled in by the SPConfig.h header. Patch is in the macport tree.