SVN commit 429682 by toivo: BSD fixes M +2 -1 fbsdInterface.cpp --- branches/KDE/3.4/kdeadmin/kpackage/fbsdInterface.cpp #429681:429682 @@ -400,6 +400,7 @@ if (!ports_found) { // Try the standard ports tree locations. bsdPortsIndexItem::processFile("/usr/ports/INDEX", false, "/usr/ports"); // FreeBSD/OpenBSD + bsdPortsIndexItem::processFile("/usr/ports/INDEX-5", false, "/usr/ports"); // FreeBSD/OpenBSD bsdPortsIndexItem::processFile("/usr/opt/INDEX", false, "/usr/opt"); // NetBSD } } @@ -670,7 +671,7 @@ desc++; } - if (itemno != 8 && itemno != 9) { + if (itemno < 7 || itemno > 13) { KpMsgE(i18n("Warning: invalid INDEX file entry for %1").arg(name),FALSE); } name_hash = calc_hash4(name);