$NetBSD: patch-db,v 1.4 2006/06/01 13:39:10 markd Exp $ For some reason, g++-2.95 on NetBSD 1.6.2/i386 did not accept the == operator here. The QT documentation says that using QString::compare is equivalent. --- khtml/rendering/font.h.orig Mon Oct 10 17:06:06 2005 +++ khtml/rendering/font.h Tue Dec 20 20:24:55 2005 @@ -43,7 +43,7 @@ public: FontDef() : size( 0 ), italic( false ), smallCaps( false ), weight( 50 ) {} bool operator == ( const FontDef &other ) const { - return ( family == other.family && + return ( QString::compare(family, other.family) == 0 && size == other.size && italic == other.italic && smallCaps == other.smallCaps &&