Emerging media-gfx/inkscape-0.48.1 fails with the following error: color-profile.cpp: In static member function 'static std::list<Glib::ustring> Inkscape::ColorProfile::getProfileFiles()': color-profile.cpp:770:34: error: 'sanitizeString' is not a member of 'Inkscape::IO' make[2]: *** [color-profile.o] Error 1
Created attachment 263671 [details] emerge --info =media-gfx/inkscape-0.48.1
emerge -pv inkscape: [ebuild U ] media-gfx/inkscape-0.48.1 [0.48.0] USE="-debug -dia -gnome -gs -inkjar -lcms -nls -spell -wmf" 0 kB
me too :-( [ebuild U ] media-gfx/inkscape-0.48.1 [0.48.0] USE="dia nls -debug -gnome -gs -inkjar -lcms -spell -wmf" 0 kB
Created attachment 263681 [details] emerge --info "=media-gfx/inkscape-0.48.1"
Created attachment 263693 [details, diff] Moves the #include outside of #ifdef blocks The '#include <io/sys.h>' is inside an #ifdef block for lcms. The actual reference to sanitizeString is outside of the #ifdef blocks for lcms. So if you don't have the lcms use flag enabled you will get this compile error. This patch moves the #include to the top of the file outside of any #ifdef blocks. It compiled fine for me.
Fixed in CVS. Thanks for the patch.
*** Bug 356355 has been marked as a duplicate of this bug. ***