$NetBSD: patch-aa,v 1.7 2004/01/25 09:35:38 tron Exp $ --- libs/install.c.orig Wed Sep 3 12:33:52 2003 +++ libs/install.c Sun Jan 25 10:34:06 2004 @@ -517,10 +517,10 @@ /* these should all be nodes */ for(node = sect_node; node != NULL; node = node->next) { + xmlChar *categorycode; + if (xmlStrcmp(node->name, (xmlChar *)"sect")) continue; - - xmlChar *categorycode; categorycode = xmlGetProp(node, (xmlChar *)"categorycode"); if (categorycode == NULL)